Files
swift-mirror/test/SourceKit/Sema/sema_playground.swift.response
Doug Gregor 7f293f66b3 [Parser] Allow use of $ declarations in all modes.
Allow the use of declarations whose names start with $ in all
modes. However, normal code cannot define new entities with names that
start with $: only the implementation can do that, e.g., for property
delegates.
2019-04-23 11:31:58 -07:00

18 lines
372 B
Plaintext

[
{
key.kind: source.lang.swift.ref.var.global,
key.offset: 25,
key.length: 1
}
]
[
{
key.line: 1,
key.column: 5,
key.filepath: sema_playground.swift,
key.severity: source.diagnostic.severity.error,
key.description: "cannot declare entity '$blah' with a '$' prefix",
key.diagnostic_stage: source.diagnostic.stage.swift.sema
}
]