-
-
Notifications
You must be signed in to change notification settings - Fork 679
Closed
Labels
Description
Hi!
If you try to paste this small snipped in the AS editor, and try to look at the WASM generated, the page becomes unresponsive:
export function foo() {
if (idof<Foo>() == idof<Bar>) {
baz();
} else {
`Some string`
}
}Note that:
- the code is not correct (it is missing the parenthesis to call
idofinidof<Bar>) - if you remove the string template, from the
elsebranch, the issue disappear - if you fix the
idofcall, the issue disappear
Let me know if you need any additional detail on this.
Thanks!