Skip to content

False-positive error highlight when backtick escape and script blocks are combined #100

@KisaragiEffective

Description

@KisaragiEffective
Get-Content ./query`(`).json | ForEach-Object { 1 }
#                                            ^ `{` unexpected
Get-Content ./query`(.json | ForEach-Object {}
#                                          ^ `{` unexpected
Get-Content ./query.json | ForEach-Object {}
Get-Content query`(.json | ForEach-Object {}
Get-Content ./x.json | ForEach-Object {}
Get-Content x`(.json | ForEach-Object {}
Get-Content ./`(.json | ForEach-Object {}
Get-Content ./.json | ForEach-Object {}
Get-Content .json | ForEach-Object {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is neededparserIssues related to PowerShell script parsing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions