Skip to content

Conversation

@sunverwerth
Copy link
Contributor

Added diagnostic tests to the test suite. Works the same as the tree tests.
This includes the .diag files for the current state of the parser.

Additionally I fixed a bug in the DiagnosticsProvider when a use declaration with an empty use clause list is checked.

@roblourens
Copy link
Member

Thanks, this is awesome! I think the test failures are just what was fixed by the other PR, right?

@sunverwerth
Copy link
Contributor Author

Yes, I see you just merged the other PR so I can rebase this branch on the new master. Just a moment :)

@sunverwerth
Copy link
Contributor Author

Ok, checks do pass now!

Please note that I have only added checks for the ParserGrammar tests, the lexer and validation tests do not do diagnostic checking. But I think this covers plenty of cases for now.

@roblourens roblourens merged commit 8aa8c0a into microsoft:master Sep 28, 2017
@sunverwerth sunverwerth deleted the diag-validation branch September 28, 2017 20:01
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