Generate a compile error if opcodes that are known to be invalid are generated. #350
Labels
compiler
General compiler. Should eventually become more specific as the issue is triaged
enhancement
New feature or request
team:compiler
Compiler Team
GM 0x01
will always panic from a script, so if it is called directly from a script, it should be a compile error.MINT
andBURN
shouldn't ever be used in an external context.GM 0x02
also shouldn't ever be used in an external context.S{R,W}W{,X}
shouldn't ever be used in an external context either.If there are any other opcodes that can be predicted to fail, we should err on those, as well.
The text was updated successfully, but these errors were encountered: