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 25433d1 commit e055f5bCopy full SHA for e055f5b
tests/run/toplevel-mixed/B_1.scala
@@ -1,7 +1,7 @@
1
2
class x(val s: String)
3
4
-object y {
+object yy {
5
def foo = 3
6
}
7
tests/run/toplevel-mixed/Test_2.scala
@@ -4,7 +4,7 @@ object Test extends App {
assert((new x("abc")).s == "abc")
assert(y("abc") == 3)
- assert(y.foo == 3)
+ assert(yy.foo == 3)
8
9
val x2: X2 = "abc"
10
assert(X2.bar == "hi")
0 commit comments