This PR adds tracing to the borrow inference to explain to the user why it got to its conclusions.
8 lines
304 B
Text
8 lines
304 B
Text
[Compiler.inferBorrow] own _x.21: result of function call _x.21
|
|
[Compiler.inferBorrow] own _x.20: result of function call _x.20
|
|
[Compiler.inferBorrow] size: 3
|
|
def f @&xs : tobj :=
|
|
let _x.1 := 2;
|
|
let _x.2 := List.lengthTR._redArg xs;
|
|
let _x.3 := Nat.mul _x.1 _x.2;
|
|
return _x.3
|