-
-
Notifications
You must be signed in to change notification settings - Fork 669
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
idof
inidof<Bar>
) - if you remove the string template, from the
else
branch, the issue disappear - if you fix the
idof
call, the issue disappear
Let me know if you need any additional detail on this.
Thanks!