effekt
effekt copied to clipboard
Extern definitions using blocks/functions
Using a block in an extern definition like this:
interface Bar {
def bar(): Int
}
extern def foo(){ b: Bar } =
js "${b.bar()}"
default {
b.bar()
}
currently fails with an error message about missing capabilities.
(Future work from #427)