Skip to content

Add warning for extra symbols in single-expression contexts#2

Open
PhoenixBound wants to merge 1 commit into
pk-hack:masterfrom
PhoenixBound:expression-eof-checking
Open

Add warning for extra symbols in single-expression contexts#2
PhoenixBound wants to merge 1 commit into
pk-hack:masterfrom
PhoenixBound:expression-eof-checking

Conversation

@PhoenixBound
Copy link
Copy Markdown

Kirb brought up making this an error again literally last night. This gets 99% of the way there, and the last 1% is eventually changing Warning to Error and removing the word "ignoring" from the error message.

This is a common mistake that people run into. It normally causes
a lot of confusion and pain, because it's not a compile error or
anything. In anticipation of making it an error eventually, make it a
warning. (I also made a CoilSnake PR so that warnings don't get hidden.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant