Uploaded image for project: 'SonarSwift'
  1. SonarSwift
  2. SONARSWIFT-420

Support parsing of compiler diagnostic directives

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2
    • Component/s: Parser
    • Labels:
      None

      Description

      https://github.com/apple/swift-evolution/blob/master/proposals/0196-diagnostic-directives.md

      Available from Swift 4.2 but was overlooked at the beginning

      func configPath() -> String {
        #warning("this should be made more safe")
        return Bundle.main().path(forResource: "Config", ofType: "plist")!
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                elena.vilchik Elena Vilchik
                Reporter:
                elena.vilchik Elena Vilchik
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: