We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b4e5c commit 08cbc35Copy full SHA for 08cbc35
test/junit/scala/reflect/internal/PrintersTest.scala
@@ -892,7 +892,7 @@ trait TraitPrintTests {
892
| type Foo;
893
| type XString = scala.Predef.String
894
|} with scala.Serializable {
895
- | val z = 7
+ | val z: Int = 7
896
|}""")
897
898
@Test def testTraitWithSingletonTypeTree = assertPrintedCode(sm"""
@@ -1012,7 +1012,7 @@ trait ValAndDefPrintTests {
1012
1013
@Test def testDefWithLazyVal2 = assertPrintedCode(sm"""
1014
|def a = {
1015
- | lazy val test: Unit = {
+ | lazy val test: scala.Unit = {
1016
| scala.Predef.println();
1017
| scala.Predef.println()
1018
| };
0 commit comments