You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/05/03 05:13:13 UTC

[jira] [Commented] (THRIFT-3807) Swift compiler does not escape reserved words

    [ https://issues.apache.org/jira/browse/THRIFT-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268001#comment-15268001 ] 

Hudson commented on THRIFT-3807:
--------------------------------

SUCCESS: Integrated in Thrift-precommit #451 (See [https://builds.apache.org/job/Thrift-precommit/451/])
THRIFT-3807 Swift compiler does not escape reserved words Client: Swift (jensg: [https://github.com/apache/thrift/commit/b749c2603ef1935bc1fbba4f9c2935b12b1328e0])
* compiler/cpp/src/generate/t_swift_generator.cc


> Swift compiler does not escape reserved words
> ---------------------------------------------
>
>                 Key: THRIFT-3807
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3807
>             Project: Thrift
>          Issue Type: Bug
>          Components: Swift - Compiler
>            Reporter: Stig Bakken
>            Assignee: Stig Bakken
>            Priority: Minor
>             Fix For: 0.10.0
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)