Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax/type errors should be ephemeral #1291

Open
byorgey opened this issue May 30, 2023 · 0 comments
Open

Syntax/type errors should be ephemeral #1291

byorgey opened this issue May 30, 2023 · 0 comments
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.

Comments

@byorgey
Copy link
Member

byorgey commented May 30, 2023

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 ephemeral OK, loaded kind of message as well, so it would replace any errors from the previous run attempt.

@byorgey byorgey added Z-Feature A new feature to be added to the game. C-Low Hanging Fruit Ideal issue for new contributors. S-Moderate The fix or feature would substantially improve user experience. L-Error reporting Reporting language or runtime errors to the player. Z-User Experience This issue seeks to make the game more enjoyable to play. labels May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant