You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are not operators in these instances, so even though the grammar scopes them as such, asserting these tests is misleading and will require correcting when the grammar is improved. This is covered in issue #112.
The # is this spec is not a line comment token. Its actually part of an unquoted non-expanding string that describes a function/command name. This is covered in issue #62.
Line 1186 specs the $ as definition.variable. This is covered in issue #132.
(Example under PR #156 I have scoped it as punctuation.section.embedded.begin)
This might only be a partial listing. This is some of the specs I am constantly looking at when checking my work. I list these more so that others can avoid needing to question these.
The text was updated successfully, but these errors were encountered:
This is to point out some incorrect assertions in the spec tests.
EditorSyntax/spec/testfiles/syntax_test_TheBigTestFile.ps1
Lines 428 to 430 in 44eac87
The
++
is actually the unary increment operator, and PowerShell will flag this as an error because it cannot be used on a constant.EditorSyntax/spec/testfiles/syntax_test_TheBigTestFile.ps1
Lines 569 to 571 in 44eac87
These are not operators in these instances, so even though the grammar scopes them as such, asserting these tests is misleading and will require correcting when the grammar is improved. This is covered in issue #112.
EditorSyntax/spec/testfiles/syntax_test_TheBigTestFile.ps1
Lines 771 to 776 in 44eac87
The
#
is this spec is not a line comment token. Its actually part of an unquoted non-expanding string that describes a function/command name. This is covered in issue #62.(Example under PR #156)
EditorSyntax/spec/testfiles/syntax_test_TheBigTestFile.ps1
Lines 1181 to 1187 in 44eac87
Line 1186 specs the
$
asdefinition.variable
. This is covered in issue #132.(Example under PR #156 I have scoped it as
punctuation.section.embedded.begin
)This might only be a partial listing. This is some of the specs I am constantly looking at when checking my work. I list these more so that others can avoid needing to question these.
The text was updated successfully, but these errors were encountered: