1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00

Remove the rest property.

This commit is contained in:
Rob Rix 2015-11-02 13:07:33 -05:00
parent dc4b9188f1
commit ec87b3b17f

View File

@ -3,15 +3,6 @@ enum Argument {
indirect case OutputFlag(Output, Argument) indirect case OutputFlag(Output, Argument)
case Sources(Source, Source) case Sources(Source, Source)
private var rest: Argument? {
switch self {
case let .OutputFlag(_, rest):
return rest
case .Sources:
return nil
}
}
var sources: (Source, Source) { var sources: (Source, Source) {
switch self { switch self {
case let .Sources(a, b): case let .Sources(a, b):