You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: The Mojo REPL has crashed and attempted recovery. If the REPL behaves inconsistently, please restart to ensure correct behavior.
Does not crash if you specify Struct[1].Alias.
Expected behavior would be to either emit an error indicating that a parameter needs to be specified. Or maybe allow no parameters if the alias doesn't depend on any?
The text was updated successfully, but these errors were encountered:
Thanks for filing! This looks like a parser verification hole. The code you've shared should throw an error instead of crashing.
Mogball
changed the title
[BUG] REPL crash when using member alias without specifying parameter
[BUG] Parser crash when using struct member alias without specifying struct parameter
May 24, 2023
Bug Description
Does not crash if you specify
Struct[1].Alias
.Expected behavior would be to either emit an error indicating that a parameter needs to be specified. Or maybe allow no parameters if the alias doesn't depend on any?
The text was updated successfully, but these errors were encountered: