FIR: do not run full tower resolve on integer literal type

This commit is contained in:
Mikhail Glukhikh
2019-12-19 14:57:14 +03:00
parent cb3f02d015
commit 99643e1b2d
3 changed files with 9 additions and 3 deletions
@@ -5,7 +5,7 @@ fun foo() = 1
val nonConst = foo()
annotation class ValidAnn(
val p1: Int = 1 <!AMBIGUITY!>+<!> CONST,
val p1: Int = 1 + CONST,
val p2: String = "",
val p3: KClass<*> = String::class,
val p4: IntArray = intArrayOf(1, 2, 3),