We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec004f6 + 54d35c6 commit 8475cffCopy full SHA for 8475cff
proposals/function-references/Overview.md
@@ -46,6 +46,7 @@ Typed references have no canonical default value, because they cannot be null. T
46
The function `$hof` takes a function pointer as parameter, and is invoked by `$caller`, passing `$inc` as argument:
47
```wasm
48
(type $i32-i32 (func (param i32) (result i32)))
49
+(elem declare funcref (ref.func $inc))
50
51
(func $hof (param $f (ref $i32-i32)) (result i32)
52
(i32.add (i32.const 10) (call_ref $i32-i32 (i32.const 42) (local.get $f)))
0 commit comments