-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfinterpolated stringsFeature → expressions → literals → string literals: interpolated stringsFeature → expressions → literals → string literals: interpolated stringsliteralsFeature → expressions: Literals such as an integer or string literalFeature → expressions: Literals such as an integer or string literalunexpected errorBug: Unexpected errorBug: Unexpected error† libswiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntax
Description
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
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfinterpolated stringsFeature → expressions → literals → string literals: interpolated stringsFeature → expressions → literals → string literals: interpolated stringsliteralsFeature → expressions: Literals such as an integer or string literalFeature → expressions: Literals such as an integer or string literalunexpected errorBug: Unexpected errorBug: Unexpected error† libswiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntaxArchive • Area → compiler: the once-integrated C++ Syntax library succeeded by SwiftSyntax