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 728e71e commit 90af847Copy full SHA for 90af847
test/junit/scala/reflect/internal/PrintersTest.scala
@@ -142,7 +142,7 @@ trait BasePrintTests {
142
|else
143
| ((a.toString): String)""",
144
typedCode=sm"""
145
- |val a = 1;
+ |val a: Int = 1;
146
|if (PrintersContext.this.a.>(1))
147
| ((PrintersContext.this.a): scala.Int)
148
@@ -853,7 +853,7 @@ trait TraitPrintTests {
853
854
@Test def testTraitWithSelf2 = assertPrintedCode(sm"""
855
|trait X { self: scala.Cloneable with scala.Serializable =>
856
- | val x: scala.Int = 1
+ | val x: Int = 1
857
|}""")
858
859
@Test def testTraitTypeParams = assertPrintedCode("trait X[A, B]")
0 commit comments