mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
14 lines
496 B
Plaintext
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
|