[SourceKit] static modifier

Hi,
I am trying to understand why sourceKit is reporting `static` as a "source.lang.swift.syntaxtype.keyword" instead of a “source.lang.swift.syntaxtype.attribute.builtin”?

All the modifiers in this list (except for class and static) are `builtin` Declarations — The Swift Programming Language (Swift 5.7)

I am trying to build a linting rule to enforce a consistent order of these attributes. Enforce consistent attribute ordering · Issue #387 · realm/SwiftLint · GitHub

Thanks

I filed this bug for anybody interested: [SR-4834] Static should be attribute.builtin · Issue #47411 · apple/swift · GitHub

···

On May 7, 2017, at 1:56 PM, Jose Cheyo Jimenez <cheyo@masters3d.com> wrote:

Hi,
I am trying to understand why sourceKit is reporting `static` as a "source.lang.swift.syntaxtype.keyword" instead of a “source.lang.swift.syntaxtype.attribute.builtin”?

All the modifiers in this list (except for class and static) are `builtin` The Swift Programming Language: Redirect

I am trying to build a linting rule to enforce a consistent order of these attributes. Enforce consistent attribute ordering · Issue #387 · realm/SwiftLint · GitHub

Thanks