Skip to content

Lexing error of string interpolation #59

@blindFS

Description

@blindFS
$"(')')"

Token3 0: DqStringInterpStart span: 0 .. 2 '$"'
Token3 1: StrInterpLParen span: 2 .. 3 '('
Token3 2: Eof span: 9 .. 9 ''
Lexing error. Error: Spanned { item: Generic, span: Span { start: 3, end: 4 } }, '''

$"("foo")"

Token3 0: DqStringInterpStart span: 0 .. 2 '$"'
Token3 1: Eof span: 11 .. 11 ''
Lexing error. Error: Spanned { item: UnmatchedStrInterpLParen, span: Span { start: 2, end: 3 } }, '('

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions