-
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 itselfgood first issueGood for newcomersGood for newcomersparserArea → compiler: The legacy C++ parserArea → compiler: The legacy C++ parser
Description
| Previous ID | SR-12605 |
| Radar | rdar://problem/62202395 |
| Original Reporter | @beccadax |
| Type | Bug |
Environment
Near-master, 15 April 2019
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Compiler |
| Labels | Bug, Parser, StarterBug |
| Assignee | matthewspear (JIRA) |
| Priority | Medium |
md5: 41076a6957823a7ff8a7fce6be55225d
Issue Description:
1> #sourceLocation(file: "a.swift", line: 1_000)
error: /var/folders/mw/1rhv6fn96gb8swwkt8zycwph0000gn/T/repl1-101710..swift:2:40: error: expected starting line number for #sourceLocation directive
#sourceLocation(file: "a.swift", line: 1_000)
^
1> #sourceLocation(file: "a.swift", line: 1000)
2> 1_000
$R0: Int = 1000
3>
Underscore separators in #sourceLocation directives probably ought to be supported.
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 itselfgood first issueGood for newcomersGood for newcomersparserArea → compiler: The legacy C++ parserArea → compiler: The legacy C++ parser