fix(swift) `warn_unqualified_access` is an attribute (#3845)
* Keyword attribute, not number sign * Add test * Update CHANGES
This commit is contained in:
parent
e71d91dabc
commit
12536569dc
|
@ -35,6 +35,7 @@ Core Grammars:
|
|||
- fix(haskell) do not treat double dashes inside infix operators as comments [Zlondrej][]
|
||||
- enh(rust) added `eprintln!` macro [qoheniac][]
|
||||
- enh(leaf) update syntax to 4.0 [Samuel Bishop][]
|
||||
- fix(swift) `warn_unqualified_access` is an attribute [Bradley Mackey][]
|
||||
|
||||
Dev tool:
|
||||
|
||||
|
|
|
@ -169,7 +169,6 @@ export const numberSignKeywords = [
|
|||
'#line',
|
||||
'#selector',
|
||||
'#sourceLocation',
|
||||
'#warn_unqualified_access',
|
||||
'#warning'
|
||||
];
|
||||
|
||||
|
@ -314,7 +313,8 @@ export const keywordAttributes = [
|
|||
'UIApplicationMain',
|
||||
'unchecked',
|
||||
'unknown',
|
||||
'usableFromInline'
|
||||
'usableFromInline',
|
||||
'warn_unqualified_access'
|
||||
];
|
||||
|
||||
// Contextual keywords used in @available and #(un)available.
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
<span class="hljs-keyword">@resultBuilder</span>
|
||||
<span class="hljs-keyword">@Sendable</span>
|
||||
<span class="hljs-keyword">@unchecked</span>
|
||||
<span class="hljs-keyword">@warn_unqualified_access</span>
|
||||
|
||||
@ notAnAttribute
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
@resultBuilder
|
||||
@Sendable
|
||||
@unchecked
|
||||
@warn_unqualified_access
|
||||
|
||||
@ notAnAttribute
|
||||
|
|
Loading…
Reference in New Issue