Unit.VALUE -> Unit in code.

This commit is contained in:
Zalim Bashorov
2014-07-12 21:25:00 +04:00
parent c85ec97589
commit 4a8519615a
4 changed files with 5 additions and 8 deletions
@@ -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());
}