PowerShell/test/powershell/Language/Parser
Ilya a16fead0a5 Fix error position reporting on classes (#3103)
Interactive hosts expect an `IncompleteParseException` to signal that more input is expected.

When detecting errors, the parser can report 2 positions:
* where the error should be reported
* where the error was detected

Typically these are the same, so most error reporting methods have a single parameter.
For missing braces, the pattern is supposed to be to report the error after the opening brace, but the error is typically detected at the end of the file.

There were a few places where we were not consistent in reporting such errors, this PR corrects those places.
2017-02-13 16:45:00 -08:00
..
Ast.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
AutomaticVariables.Tests.ps1 Skip $input type test per #1563 2016-07-28 18:02:24 -07:00
BNotOperator.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Conversions.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
ExtensibleCompletion.Tests.ps1 Fix tab completion of native parameters (#2919) 2017-02-13 16:02:56 -08:00
LanguageAndParser.TestFollowup.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
MethodInvocation.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
ParameterBinding.Tests.ps1 Language tests now run clean on Linux 2016-07-20 12:10:12 -07:00
Parser.Tests.ps1 Make small optimization in parser tests (#3072) 2017-02-08 17:42:44 -08:00
Parsing.Tests.ps1 Fix error position reporting on classes (#3103) 2017-02-13 16:45:00 -08:00
RedirectionOperator.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
TypeAccelerator.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
UsingAssembly.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
UsingNamespace.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00