Skip to content

Conversation

@ahoppen
Copy link
Member

@ahoppen ahoppen commented Feb 7, 2023

LexerError has been the wrong name for this for two reasons:

  • It could also contain warnings generated by the lexer
  • It also contained errors about insufficient indentation that weren’t generated by the lexer

TokenDiagnostic is the best name I have found to describe what this is doing.

@ahoppen ahoppen requested a review from bnbarham February 7, 2023 10:56
@ahoppen
Copy link
Member Author

ahoppen commented Feb 7, 2023

@swift-ci Please test

@ahoppen ahoppen force-pushed the ahoppen/rename-lexererror branch from b39a7de to 3f06676 Compare February 7, 2023 11:06
@ahoppen
Copy link
Member Author

ahoppen commented Feb 7, 2023

@swift-ci Please test

Copy link
Contributor

@bnbarham bnbarham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, thanks!

@ahoppen
Copy link
Member Author

ahoppen commented Feb 8, 2023

@swift-ci Please test

`LexerError` has been the wrong name for this for two reasons:
- It could also contain warnings generated by the lexer
- It also contained errors about insufficient indentation that weren’t generated by the lexer

`TokenDiagnostic` is the best name I have found to describe what this is doing.
@ahoppen ahoppen force-pushed the ahoppen/rename-lexererror branch from 3f06676 to 9b7605c Compare February 8, 2023 16:34
@ahoppen
Copy link
Member Author

ahoppen commented Feb 8, 2023

@swift-ci Please test

@ahoppen ahoppen merged commit a19ab8b into swiftlang:main Feb 8, 2023
@ahoppen ahoppen deleted the ahoppen/rename-lexererror branch February 8, 2023 18:57
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.

2 participants