Unit.VALUE -> Unit in code.
This commit is contained in:
@@ -71,7 +71,7 @@ public fun JetElement.getDebugText(): String? {
|
||||
}
|
||||
return "package " + fqName.asString()
|
||||
}
|
||||
return accept(DebugTextBuildingVisitor, Unit.VALUE)
|
||||
return accept(DebugTextBuildingVisitor, Unit)
|
||||
}
|
||||
|
||||
|
||||
@@ -341,4 +341,4 @@ private fun StringBuilder.appendInn(target: Any?, prefix: String = "", suffix: S
|
||||
else -> target.toString()
|
||||
})
|
||||
append(suffix)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ public class JetTypeCheckerTest extends JetLiteFixture {
|
||||
assertType("\"d\"", builtIns.getStringType());
|
||||
assertType("\"\"\"d\"\"\"", builtIns.getStringType());
|
||||
|
||||
assertType("Unit.VALUE", KotlinBuiltIns.getInstance().getUnitType());
|
||||
assertType("Unit", KotlinBuiltIns.getInstance().getUnitType());
|
||||
|
||||
assertType("null", KotlinBuiltIns.getInstance().getNullableNothingType());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user