swiftlang/swift

[SR-5528] Allow multiple typealiases in a declaration

Open

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

在 GitHub 查看
 (3 留言) (0 反應) (1 負責人)Swift (69,989 star) (10,719 fork)batch import
compilerfeaturegood first issueparserswift evolution proposal neededtype checkertypealias

描述

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

貢獻者指南