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

贡献者指南