There was an error while loading. Please reload this page.
2 parents 141bf9e + d6684a3 commit 83565ccCopy full SHA for 83565cc
tests/pos/i6665/Bad_2.scala
@@ -0,0 +1,4 @@
1
+package foo
2
+import foo._
3
+object A extends Oops
4
+object B extends Oops
tests/pos/i6665/Oops_1.scala
@@ -0,0 +1,11 @@
+
+trait TOops
+{
5
+ def oops: Unit ?=> Unit
6
+}
7
8
+trait Oops extends TOops
9
10
+ override def oops: Unit ?=> Unit = (x) ?=> x
11
0 commit comments