Files
swift-mirror/test/Sema/Inputs/extra.accessnotes
Becca Royal-Gordon a6a9dfede0 Add option to control access note diagnostics
This will allow teams writing access notes to use -Raccess-note=all-validate to check that their access notes are correct, or teams working around problems to use -Raccess-note=failures or -Raccess-note=none to suppress diagnostics.
2021-05-22 13:01:29 -07:00

14 lines
496 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'}}
# These notes should apply, or attempt to apply, despite the other problems.
- Name: 'Extant.good(_:)'
ObjC: true
- Name: 'Extant.bad(_:)'
ObjC: true