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 9ed0762 commit 0f207e5Copy full SHA for 0f207e5
tests/pos/i13346.scala
@@ -0,0 +1,19 @@
1
+object Outer_Typed {
2
+ object Inner {
3
+ class ClassUntyped(x: Int)
4
+ class ClassTyped[T](x: T) // notice type parameter
5
+
6
+ // ok
7
+ val _ = new ClassUntyped(42)
8
+ val _ = new ClassTyped("42")
9
+ val _ = ClassUntyped(42)
10
+ val _ = ClassTyped("42")
11
+ }
12
13
+ export Inner._
14
15
16
17
18
+ val _ = ClassTyped("42") // error: Not found: ClassTyped
19
+}
0 commit comments