Propagate resolution results without ambiguity to constant evaluator

This allows to get rid of useless diagnostics that some value is not a constant
This commit is contained in:
Mikhail Zarechenskiy
2017-03-21 01:28:59 +03:00
parent e49b2811ec
commit 859bccb9fc
5 changed files with 15 additions and 15 deletions
@@ -4,8 +4,8 @@ package
@Foo(a = {kotlin.Int::class, kotlin.String::class}) public fun test2(): kotlin.Unit
@Foo(a = {kotlin.Array<*>::class}) public fun test3(): kotlin.Unit
@Foo(a = {Gen<kotlin.Int>::class}) public fun test4(): kotlin.Unit
@Foo public fun test5(): kotlin.Unit
@Foo public fun test6(): kotlin.Unit
@Foo(a = {""}) public fun test5(): kotlin.Unit
@Foo(a = {kotlin.Int::class, 1}) public fun test6(): kotlin.Unit
@Bar public fun test7(): kotlin.Unit
public final annotation class Bar : kotlin.Annotation {