mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
The LLVM rebranch added an “AllowUnknownKeys” setting to llvm::yaml::Input, which lets us rip out a lot of marginal code and encourages a broader rework of access note error diagnosis: • Access note warnings and errors are now diagnosed as they’re found during YAML parsing • They now have proper SourceLocs inside the .accessnotes file • They’re now tested using -verify-additional-file instead of FileCheck • A lot of gross duct tape is now gone
8 lines
339 B
Plaintext
8 lines
339 B
Plaintext
Reason: Access notes containing future, unknown syntax
|
|
CorinthianLeather: 'rich'
|
|
# expected-remark@-1 {{ignored invalid content in access notes file: unknown key 'CorinthianLeather'}}
|
|
Notes:
|
|
- Name: 'fn()'
|
|
CorinthianLeather: 'rich'
|
|
# expected-remark@-1 {{ignored invalid content in access notes file: unknown key 'CorinthianLeather'}}
|