Anthony Latsis
6a0834f2fc
Sema: Minor improvements to access_control_non_objc_open_member message
...
* Use the '%kindonly' specifier.
* Make the object and its modifier agree on grammatical number.
* 'in extension' → 'declared in extension'.
2025-01-12 15:28:00 +00:00
Anthony Latsis
531ad28996
Sema: Specify compatibility margin for access_control_non_objc_open_member
...
This diagnostic was staged in
https://github.com/swiftlang/swift/pull/38991 as a warning to not break
source. Give it a reasonable margin and, in turn, convey that it is in
fact a compatibility warning and will become an error.
2025-01-12 03:03:49 +00:00
Anthony Latsis
14b70f306b
DiagnosticVerifier: Default expected fix-it start line to the diagnostic's
2023-03-08 12:10:27 +03:00
Minhyuk Kim
f9e93a822b
Only emit warning for function and variable decl
2021-12-26 01:32:40 +09:00
Minhyuk Kim
44f3915b61
Don't set attribute as invalid
2021-12-18 18:06:49 +09:00
Minhyuk Kim
0b4856939a
Modify diagnostics on open extensions
2021-09-08 18:31:03 +09:00
Minhyuk Kim
f899f2e60f
Lower error to warning, fix tests for objc interopg
2021-09-06 20:31:20 +09:00