[swift-dev] [SourceKit] static modifier
Jose Cheyo Jimenez
cheyo at masters3d.com
Tue May 9 00:43:04 CDT 2017
I filed this bug for anybody interested: https://bugs.swift.org/browse/SR-4834 <https://bugs.swift.org/browse/SR-4834>
> On May 7, 2017, at 1:56 PM, Jose Cheyo Jimenez <cheyo at 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` https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Declarations.html#//apple_ref/swift/grammar/declaration-modifiers <https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Declarations.html#//apple_ref/swift/grammar/declaration-modifiers>
>
> I am trying to build a linting rule to enforce a consistent order of these attributes. https://github.com/realm/SwiftLint/issues/387 <https://github.com/realm/SwiftLint/issues/387>
>
> Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170508/b8187a62/attachment.html>
More information about the swift-dev
mailing list