swiftlang/swift

[SR-5528] Allow multiple typealiases in a declaration

Open

#48.100 aperta il 22 lug 2017

Vedi su GitHub
 (3 commenti) (0 reazioni) (1 assegnatario)Swift (10.719 fork)batch import
compilerfeaturegood first issueparserswift evolution proposal neededtype checkertypealias

Metriche repository

Star
 (69.989 star)
Metriche merge PR
 (Merge medio 8g 17h) (510 PR mergiate in 30 g)

Descrizione

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

Guida contributor