Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created July 15, 2020 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexcrichton/82469613ba708c126135c1431d13b694 to your computer and use it in GitHub Desktop.
Save alexcrichton/82469613ba708c126135c1431d13b694 to your computer and use it in GitHub Desktop.
failed test: tests/testsuite/proposals/function-references/br_on_null.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/br_on_null.wast:20:66
|
20 | (func (export "nullable-null") (result i32) (call $n (ref.null (type $t))))
| ^
failed test: tests/testsuite/proposals/function-references/br_table.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/br_table.wast:1289:41
|
1289 | (br_table $l1 $l2 $l1 (ref.null (type $t)) (local.get 0))
| ^
failed test: tests/testsuite/proposals/function-references/call_ref.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/call_ref.wast:22:39
|
22 | (call_ref (i32.const 1) (ref.null (type $ii)))
| ^
failed test: tests/testsuite/proposals/function-references/func_bind.wast
Caused by:
unexpected token, expected an identifier or u32
--> tests/testsuite/proposals/function-references/func_bind.wast:8:16
|
8 | (func.bind (type $unop) (local.get $i) (ref.func $add))
| ^
failed directive on tests/testsuite/proposals/function-references/let.wast:196:2
Caused by:
duplicate local identifier
--> tests/testsuite/proposals/function-references/let.wast:199:17
|
199 | (let (local $x i32) (return (local.get $x)))
| ^
failed test: tests/testsuite/proposals/function-references/linking.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/linking.wast:101:62
|
101 | (global (export "g-const-refnull") (ref null $t) (ref.null (type $t)))
| ^
failed test: tests/testsuite/proposals/function-references/ref.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/ref.wast:12:12
|
12 | (ref (type 0))
| ^
failed test: tests/testsuite/proposals/function-references/ref_as_non_null.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/ref_as_non_null.wast:14:66
|
14 | (func (export "nullable-null") (result i32) (call $n (ref.null (type $t))))
| ^
failed test: tests/testsuite/proposals/function-references/ref_is_null.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/ref_is_null.wast:15:25
|
15 | (call $f3 (ref.null (type $t)))
| ^
failed test: tests/testsuite/proposals/function-references/ref_null.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/ref_null.wast:5:57
|
5 | (func (export "ref") (result (ref null $t)) (ref.null (type $t)))
| ^
failed test: tests/testsuite/proposals/function-references/return_call_ref.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/return_call_ref.wast:103:32
|
103 | (return_call_ref (ref.null (type $proc)))
| ^
failed test: tests/testsuite/proposals/function-references/select.wast
Caused by:
unexpected token, expected one of: `func`, `extern`, `any`, `exn`, `eq`, `i31`, an index
--> tests/testsuite/proposals/function-references/select.wast:271:64
|
271 | (assert_return (invoke "join-funcnull" (i32.const 0)) (ref.null))
| ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment