[Voi-94] Support TCO #38
Annotations
2 errors
src/__tests__/compiler.test.ts > E2E Compiler Pipeline > Compiler can do tco:
src/__tests__/compiler.test.ts#L42
Error: Snapshot `E2E Compiler Pipeline > Compiler can do tco 1` mismatched
- Expected
+ Received
@@ -1,15 +1,15 @@
"(module
(type $0 (func (param i32 i32 i32) (result i32)))
(memory $0 1 150)
(export "buffer" (memory $0))
- (export "fib" (func $fib#15065))
+ (export "fib" (func $fib#51890))
- (func $fib#15065 (type $0) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
+ (func $fib#51890 (type $0) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(if (result i32)
(local.get $0)
(then
- (return_call $fib#15065
+ (return_call $fib#51890
(i32.sub
(local.get $0)
(i32.const 1)
)
(local.get $2)
❯ src/__tests__/compiler.test.ts:42:30
|
test
Process completed with exit code 1.
|