amplitude / amplitude/homebrew-ampli
Ampli CLI generate invalid Swift code
オープン
- 主要言語
- Ruby
- スター
- 2
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
An enum is defined on Amplitude with the values `edit` and `continue`.
This generate the following swift enum
```
public enum Action: String {
case edit = "edit"
case continue = "continue"
}
```
This doesn't compile because continue is a swift keyword therefore not a valid identifier
Ampli generator must escape all values corresponding to swift keywords like this:
```
case `continue` = "continue"
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。