Syntax/type errors should be ephemeral #1291
Labels
C-Low Hanging Fruit
Ideal issue for new contributors.
L-Error reporting
Reporting language or runtime errors to the player.
S-Moderate
The fix or feature would substantially improve user experience.
Z-Feature
A new feature to be added to the game.
Z-User Experience
This issue seeks to make the game more enjoyable to play.
Currently, if you
run
a.sw
file that has syntax or type errors, the error messages go into your log, and hence stick around forever. This is not ideal since (1) who cares about past error messages, and (2) when you load a.sw
file again it is hard to know whether you have fixed the problems since the error messages are still there in your log.Somehow the errors should be shown to you but disappear later. Maybe we could make a new kind of "ephemeral" log message that gets deleted at some point, perhaps the next time anything gets added to the log. We could make
run
generate an ephemeralOK, loaded
kind of message as well, so it would replace any errors from the previousrun
attempt.The text was updated successfully, but these errors were encountered: