[FIR] Render nullability in type renderer, not in fir renderer

This commit is contained in:
Dmitriy Novozhilov
2019-07-29 11:47:20 +03:00
parent 3e44bc805f
commit e6bf3b3263
220 changed files with 441 additions and 418 deletions
@@ -724,9 +724,6 @@ class FirRenderer(builder: StringBuilder) : FirVisitorVoid() {
if (resolvedTypeRef !is FirImplicitBuiltinTypeRef) {
print("|")
}
if (coneType !is ConeKotlinErrorType && coneType !is ConeClassErrorType) {
print(coneType.nullability.suffix)
}
}
override fun visitUserTypeRef(userTypeRef: FirUserTypeRef) {