Fix rewrite for ANNOTATION slice (EA-49336)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
// Checks that there is no rewrite error at ANNOTATION slice because of resolving annotations for object in lazy resolve and resolving
|
||||
// object as property (method tries to resolve annotations too).
|
||||
|
||||
BadAnnotation
|
||||
object SomeObject
|
||||
|
||||
val some = SomeObject
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
[ERROR : Unresolved annotation type]() internal val SomeObject: test.SomeObject
|
||||
internal val some: test.SomeObject
|
||||
|
||||
[ERROR : Unresolved annotation type]() internal object SomeObject {
|
||||
/*primary*/ private constructor SomeObject()
|
||||
}
|
||||
Reference in New Issue
Block a user