[SR-10298] Missing whitespace between ...
operator and placeholder throws off parser
#52698
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
parser
Area → compiler: The legacy C++ parser
Attachment: Download
Additional Detail from JIRA
md5: aa56ec4a5451b5abce6337736c4a795c
Issue Description:
Lack of whitespace between ... operator and placeholde token, e.g. ...<#blah#> throws off the compiler so instead of reporting the expected "editor placeholder in source file" error, it throws several other errors and produces a bad AST with incorrect source ranges.
The text was updated successfully, but these errors were encountered: