[
https://issues.apache.org/jira/browse/THRIFT-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263760#comment-15263760
]
ASF GitHub Bot commented on THRIFT-3807:
----------------------------------------
GitHub user stigsb opened a pull request:
https://github.com/apache/thrift/pull/998
Escape reserved words in Swift
See [THRIFT-3807](https://issues.apache.org/jira/browse/THRIFT-3807)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stigsb/thrift swift_reserved_words
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/998.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #998
----
commit 7fefce1f917f41212cf6f6ed4acbf6b57a3c79eb
Author: Stig Bakken <[email protected]>
Date: 2016-04-06T14:36:01Z
Escape reserved words in Swift
----
> Swift compiler does not escape reserved words
> ---------------------------------------------
>
> Key: THRIFT-3807
> URL: https://issues.apache.org/jira/browse/THRIFT-3807
> Project: Thrift
> Issue Type: Bug
> Reporter: Stig Bakken
> Priority: Minor
>
> 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)