Skip to content

Commit 09abbd6

Browse files
committed
chore(style): fix indent
1 parent e236cdd commit 09abbd6

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

tests/neg/i15784.check

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
-- [E006] Not Found Error: tests/neg/i15784.scala:2:26 -----------------------------------------------------------------
2-
2 | case List(_, Rest @ `a`) => Rest // error
3-
| ^^^
4-
| Not found: a
1+
-- [E006] Not Found Error: tests/neg/i15784.scala:2:22 -----------------------------------------------------------------
2+
2 | case List(_, Rest @ `a`) => Rest // error
3+
| ^^^
4+
| Not found: a
55
|
66
| longer explanation available when compiling with `-explain`
7-
-- [E006] Not Found Error: tests/neg/i15784.scala:3:26 -----------------------------------------------------------------
8-
3 | case List(_, Rest @ A) => Rest // error
9-
| ^
10-
| Not found: A
7+
-- [E006] Not Found Error: tests/neg/i15784.scala:3:22 -----------------------------------------------------------------
8+
3 | case List(_, Rest @ A) => Rest // error
9+
| ^
10+
| Not found: A
1111
|
1212
| longer explanation available when compiling with `-explain`

tests/neg/i15784.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
def i15784 = List(42) match
2-
case List(_, Rest @ `a`) => Rest // error
3-
case List(_, Rest @ A) => Rest // error
4-
case _ => ???
2+
case List(_, Rest @ `a`) => Rest // error
3+
case List(_, Rest @ A) => Rest // error
4+
case _ => ???

tests/pos/i15784.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
def i15784 = List(42) match
2-
case List(_, rest @ _*) => rest
3-
case List(_, Rest @ _*) => Rest
4-
case List(_, `Rest` @ _*) => Rest
5-
case _ => ???
2+
case List(_, rest @ _*) => rest
3+
case List(_, Rest @ _*) => Rest
4+
case List(_, `Rest` @ _*) => Rest
5+
case _ => ???
66

77
def i15784_auxiliary = 42 match
8-
case `type` : Int => `type`
8+
case `type` : Int => `type`

0 commit comments

Comments
 (0)