mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
No longer need to disambiguate String.
This commit is contained in:
parent
b581b8b71d
commit
9841debe91
@ -1,9 +1,9 @@
|
||||
public enum Hash: Hashable {
|
||||
case Sequence([Hash])
|
||||
case Label(Swift.String)
|
||||
case Label(String)
|
||||
case Raw(Int)
|
||||
|
||||
public static func Case(label: Swift.String, _ hashes: Hash...) -> Hash {
|
||||
public static func Case(label: String, _ hashes: Hash...) -> Hash {
|
||||
return .Sequence([ .Label(label) ] + hashes)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user