Skip to content

[SR-10469] Unknown syntax for interpolated string literal #52869

@rintaro

Description

@rintaro
mannequin
Previous ID SR-10469
Radar rdar://problem/49855746
Original Reporter @rintaro
Type Bug
Status Resolved
Resolution Done
Environment

swift master (77a79f2)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, Syntax
Assignee kitasuke (JIRA)
Priority Medium

md5: 7bc00c2f480ca5381d03eef3740968c6

relates to:

  • SR-10241 A way to get raw string without quotes from StringLiteralExprSyntax

Issue Description:

"\(1, foo: 2)"
$ swift-syntax-test -parse-gen -input-source-filename test.swift
test.swift:1:1: error: unknown expression syntax exists in the source
"\(1, foo: 2)"
^
"\(1, foo: 2)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfinterpolated stringsFeature → expressions → literals → string literals: interpolated stringsliteralsFeature → expressions: Literals such as an integer or string literalunexpected errorBug: Unexpected error† libswiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntax

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions