EA-101715: Handle also case with IntegerValueTypeConstructor

This commit is contained in:
Yan Zhulanow
2017-11-25 01:08:28 +09:00
parent 108e91f2a2
commit 2ee23ddd02
4 changed files with 30 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
fun a() {
val a = Obj(555)
}
object Obj
+14
View File
@@ -0,0 +1,14 @@
UFile (package = ) [public final class Ea101715Kt {...]
UClass (name = Ea101715Kt) [public final class Ea101715Kt {...}]
UAnnotationMethod (name = a) [public static final fun a() : void {...}]
UBlockExpression [{...}] : PsiType:Unit
UDeclarationsExpression [var a: <ErrorType> = Obj(555)]
ULocalVariable (name = a) [var a: <ErrorType> = Obj(555)]
UCallExpression (kind = UastCallKind(name='method_call'), argCount = 1)) [Obj(555)]
UIdentifier (Identifier (Obj)) [UIdentifier (Identifier (Obj))]
USimpleNameReferenceExpression (identifier = Obj) [Obj]
ULiteralExpression (value = 555) [555] : PsiType:int
UClass (name = Obj) [public final class Obj {...}]
UField (name = INSTANCE) [public static final var INSTANCE: Obj]
UAnnotation (fqName = null) [@null]
UAnnotationMethod (name = Obj) [private fun Obj() = UastEmptyExpression]