Implement TypeSystemContext for FIR #KT-29968 Fixed

Use this context in FirClassUseSiteScope for type comparison
This commit is contained in:
Simon Ogorodnik
2019-03-06 09:42:02 +03:00
committed by Mikhail Glukhikh
parent 85cd4f3cdf
commit 3950dec4db
12 changed files with 324 additions and 35 deletions
@@ -629,7 +629,7 @@ class FirRenderer(builder: StringBuilder) : FirVisitorVoid() {
if (typeArguments.isNotEmpty()) {
sb.append(typeArguments.joinToString(prefix = "<", postfix = ">") {
when (it) {
StarProjection -> "*"
ConeStarProjection -> "*"
is ConeKotlinTypeProjectionIn -> "in ${it.type.asString()}"
is ConeKotlinTypeProjectionOut -> "out ${it.type.asString()}"
is ConeKotlinType -> it.asString()