Do not resolve annotation arguments when only a type is requested

This replaces the logic that always did complete constructor call resolution by a request to typeResolver when only a type is needed
This commit is contained in:
Andrey Breslav
2014-03-25 22:04:22 +04:00
parent 1cdfab761a
commit 298ddcf0ad
10 changed files with 39 additions and 35 deletions
@@ -2,7 +2,7 @@ package test
internal val some: test.SomeObject
[ERROR : Unresolved annotation type: BadAnnotation]() internal object SomeObject {
[ERROR : BadAnnotation]() internal object SomeObject {
/*primary*/ private constructor SomeObject()
public class object <class-object-for-SomeObject> : test.SomeObject {