-
Notifications
You must be signed in to change notification settings - Fork 485
Closed
Description
@AndrewScheidecker and I were chatting yesterday about the expression value of the return statement, specifically should something like this be allowed:
...
(f32.neg (return (f32.const 1.0)))
This looks like an error to me, and sexpr-wasm-prototype and v8-native-prototype treat is an error. But it is currently allowed in ml-proto. @sunfishcode also suggested that it might be useful to allow dead code for non-optimizing wasm.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels