Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3807

Swift compiler does not escape reserved words

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.0
    • Swift - Compiler
    • None

    Description

      Swift has a number of reserved words that may still be used if quoted with backticks in the generated code:

      Self
      associatedtype
      defer
      deinit
      dynamicType
      enum
      extension
      fallthrough
      false
      func
      guard
      init
      inout
      internal
      let
      operator
      protocol
      repeat
      rethrows
      struct
      subscript
      throws
      true
      typealias
      where

      Attachments

        Activity

          People

            stigsb Stig Bakken
            stigsb Stig Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: