[AA] Provide expected type for annotation entry argument
^KTIJ-19863
This commit is contained in:
committed by
teamcity
parent
fa6b1e24f9
commit
3477d35168
+4
@@ -0,0 +1,4 @@
|
||||
annotation class A(val n: Int)
|
||||
|
||||
@A(a<caret>v)
|
||||
class B
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
expression: av
|
||||
expected type: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Base(val p1: Int, val p2: Int)
|
||||
|
||||
class Derived(override val p1: Int, override val p2: Int) : Base(p1, p2) {
|
||||
constructor(s: String) : this(s.length, a<caret>v)
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
expression: av
|
||||
expected type: KtUsualClassType:
|
||||
annotationsList: []
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
Reference in New Issue
Block a user