Add substitution concept into JetType

In most cases it's just a map { Parameter_i => Argument_i }
Will be used when loading Raw types from Java.

Also add ClassDescriptor.getMemberScope by substitution.
This commit is contained in:
Denis Zharkov
2015-07-22 18:40:13 +03:00
parent 557450677f
commit 37420527f2
12 changed files with 87 additions and 2 deletions
@@ -52,7 +52,6 @@ class DeserializedType(
c.components.annotationAndConstantLoader.loadTypeAnnotations(typeProto, c.nameResolver)
}
override fun isMarkedNullable(): Boolean = typeProto.getNullable()
private fun getTypeMemberScope(constructor: TypeConstructor, typeArguments: List<TypeProjection>): JetScope {