Skip to content

Commit 8e278c7

Browse files
liufengyunmichelou
authored andcommitted
Fix scala#12188: Use ascribed type for bindings
1 parent a343524 commit 8e278c7

File tree

1 file changed

+1
-1
lines changed
  • tests/neg-custom-args/fatal-warnings/i12188

1 file changed

+1
-1
lines changed

tests/neg-custom-args/fatal-warnings/i12188/Test.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ def Test = MatchTest.test(PC2(10): P)
66

77
def foo(x: P): Unit =
88
x match // error
9-
case _: PC1 =>
9+
case _: PC1 =>

0 commit comments

Comments
 (0)