swiftlang/swift

[SR-5528] Allow multiple typealiases in a declaration

開放

#48,100 建立於 2017年7月22日

 (3 則留言) (0 個反應) (1 位負責人)Swift (10,719 個分叉)batch import
compilerfeaturegood first issueparserswift evolution proposal neededtype checkertypealias

倉庫指標

星標
 (69,989 顆星)
PR 合併指標
 (平均合併 8天 17小時) (30 天內合併 510 個 PR)

描述

Previous ID SR-5528
Radar None
Original Reporter @jckarter
Type Bug
Votes 0
Component/s Compiler
Labels Bug, StarterProposal
Assignee None
Priority Medium

md5: 2a0e34842e00129c1149fdebbc72bce0

Issue Description:

https://twitter.com/charlesismcom/status/888488466970955776

It would be consistent with let/var if you could write a comma-separated list of typealiases in one declaration, e.g.:

typealias Tomayto = Tomahto, Potayto = Potahto

貢獻者指南