Analysis API: introduce annotation value for KClass
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
KtDeclaration: KtClass Foo
|
||||
annotations: [
|
||||
A(a = 1, c = KtUnsupportedConstantValue)
|
||||
A(a = 1, c = kotlin.Int::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
KtDeclaration: KtNamedFunction foo
|
||||
annotations: [
|
||||
A(a = 1, c = KtUnsupportedConstantValue)
|
||||
A(a = 1, c = kotlin.Int::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
KtDeclaration: KtProperty foo
|
||||
annotations: [
|
||||
A(a = 1, c = KtUnsupportedConstantValue)
|
||||
A(a = 1, c = kotlin.Int::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
KtDeclaration: KtTypeAlias Foo
|
||||
annotations: [
|
||||
A(a = 1, c = KtUnsupportedConstantValue)
|
||||
A(a = 1, c = kotlin.Int::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
KtDeclaration: KtPropertyAccessor null
|
||||
annotations: [
|
||||
A(a = 1, c = KtUnsupportedConstantValue)
|
||||
A(a = 1, c = kotlin.Int::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
KtDeclaration: KtParameter bar
|
||||
annotations: [
|
||||
A(a = 1, c = KtUnsupportedConstantValue)
|
||||
A(a = 1, c = kotlin.Int::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
KtDeclaration: KtProperty foo
|
||||
annotations: [
|
||||
A(a = 1, c = KtUnsupportedConstantValue)
|
||||
A(a = 1, c = kotlin.Int::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
KtDeclaration: KtPropertyAccessor null
|
||||
annotations: [
|
||||
A(a = 1, c = KtUnsupportedConstantValue)
|
||||
A(a = 1, c = kotlin.Int::class)
|
||||
psi: KtAnnotationEntry
|
||||
]
|
||||
|
||||
analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInit_UInt.txt
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
expression: 42u
|
||||
constant: 42
|
||||
constantValueKind: Long
|
||||
constantValueKind: UInt
|
||||
|
||||
Reference in New Issue
Block a user