Uploaded image for project: 'Swift'
  1. Swift
  2. SR-4834

Static should be attribute.builtin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Component/s: Source Tooling
    • Labels:
      None
    • Environment:

      Welcome to Apple Swift version 3.1 (swiftlang-802.0.51 clang-802.0.41). Type :help for assistance.

      Description

      AFAICT, All modifiers are represented in Sourcekit as source.lang.swift.syntaxtype.attribute.builtin except static.
      static comes up as source.lang.swift.syntaxtype.keyword
      This seems to be a bug since static seems to be just another modifier in this list. https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Declarations.html#//apple_ref/swift/grammar/declaration-modifiers

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              masters3d J. Cheyo Jimenez
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: