Fix collection literals resolve in gradle-based projects

#KT-19441 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-08-06 18:42:09 +02:00
parent b24c1bf06c
commit 0b358fb693
15 changed files with 234 additions and 10 deletions
@@ -0,0 +1,17 @@
OUT:
Buildfile: [TestData]/build.xml
build:
[mkdir] Created dir: [Temp]/classes
[javac] Compiling 2 source files to [Temp]/classes
[javac] Compiling [[TestData]] => [[Temp]/classes]
[javac] [TestData]/myArrayOf.kt:3:30: warning: parameter 'elements' is never used
[javac] public fun intArrayOf(vararg elements: Int): IntArray = TODO()
[javac] ^
[javac] Running javac...
[jar] Building jar: [Temp]/literals.jar
BUILD SUCCESSFUL
Total time: [time]
Return code: 0