Only highlight indirect when followed by case

This commit is contained in:
Keith Smiley
2016-04-24 13:50:37 -07:00
parent 3efa034dda
commit b4262ec767
2 changed files with 6 additions and 1 deletions

View File

@@ -168,8 +168,11 @@ enum Card : Int {
case Heart
case Diamond
case Club
indirect case Foo(a: Card)
}
let indirect = 5
struct foo : bar {
switch (foo) {
case foo: