We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f2f3e commit fe6ab7aCopy full SHA for fe6ab7a
tests/pos/i5997.decompiled
@@ -10,7 +10,7 @@ class Test() {
10
def foo(x: scala.Boolean): scala.Boolean = x.unary_!
11
def bar(): scala.Int = (if (true) 1 else 2) match {
12
case x =>
13
- (x: scala.Int)
+ (x: 1 | 2)
14
}
15
def baz(): scala.Any = (if (true) ((x: scala.Any) => scala.Predef.identity[scala.Any](x)) else ((x: scala.Any) => scala.Predef.identity[scala.Any](x))).apply(0)
16
0 commit comments