Support serialization of built-in ranges as error types

This will be needed to move ranges and progressions out of builtins.
Currently they're only used in signatures of "rangeTo" functions on
primitives
This commit is contained in:
Alexander Udalov
2017-04-25 12:14:26 +03:00
parent f648f0235c
commit e2c62cbded
4 changed files with 40 additions and 2 deletions
@@ -222,7 +222,7 @@ class TypeResolver(
val arguments = resolveTypeProjections(
c, ErrorUtils.createErrorType("No type").constructor, qualifierResolutionResult.allProjections
)
result = type(ErrorUtils.createErrorTypeWithArguments(type.getDebugText(), arguments))
result = type(ErrorUtils.createUnresolvedType(type.getDebugText(), arguments))
return
}