Merge master into idea14

Conflicts:
	.idea/runConfigurations/All_Tests.xml
	idea/src/org/jetbrains/jet/plugin/conversion/copy/ConvertJavaCopyPastePostProcessor.kt
	idea/tests/org/jetbrains/jet/plugin/refactoring/introduce/introduceVariable/AbstractJetExtractionTest.kt
	idea/tests/org/jetbrains/jet/shortenRefs/AbstractShortenRefsTest.kt

Original commit: a0e45e9a12
This commit is contained in:
Nikolay Krasko
2014-06-25 16:26:01 +04:00
54 changed files with 467 additions and 37 deletions
@@ -0,0 +1,22 @@
Cleaning output files:
out/production/module/test/TestPackage-const-*.class
out/production/module/test/TestPackage.class
End of files
Compiling files:
src/const.kt
End of files
Cleaning output files:
out/production/module/test/TestPackage-const-*.class
out/production/module/test/TestPackage.class
End of files
Compiling files:
src/const.kt
End of files
Cleaning output files:
out/production/module/test/Usage.class
End of files
Compiling files:
src/usage.kt
End of files
@@ -0,0 +1,12 @@
package test
val b: Byte = 100
val s: Short = 20000
val i: Int = 2000000
val l: Long = 2000000000000L
val f: Float = 3.14f
val d: Double = 3.14
val bb: Boolean = true
val c: Char = '\u03c0' // pi symbol
val str: String = ":)"
@@ -0,0 +1,12 @@
package test
val b: Byte = 50 + 50
val s: Short = 10000 + 10000
val i: Int = 1000000 + 1000000
val l: Long = 1000000000000L + 1000000000000L
val f: Float = 0.0f + 3.14f
val d: Double = 0.0 + 3.14
val bb: Boolean = !false
val c: Char = '\u03c0' // pi symbol
val str: String = ":)"
@@ -0,0 +1,12 @@
package test
val b: Byte = 0
val s: Short = 0
val i: Int = 0
val l: Long = 0
val f: Float = 0.0f
val d: Double = 0.0
val bb: Boolean = false
val c: Char = 'x'
val str: String = ":("
@@ -0,0 +1,4 @@
package test
deprecated("$b $s $i $l $f $d $bb $c $str")
class Usage
@@ -0,0 +1,3 @@
package test
class A
@@ -0,0 +1,3 @@
package test
class A
@@ -0,0 +1,17 @@
Cleaning output files:
out/production/module/test/A.class
End of files
Compiling files:
End of files
Compiling files:
src/A.kt
End of files
Cleaning output files:
out/production/module/test/TestPackage-other-*.class
out/production/module/test/TestPackage.class
End of files
Compiling files:
src/other.kt
End of files
@@ -0,0 +1,4 @@
package test
fun other() {
}
@@ -0,0 +1,6 @@
package test
fun a(ref: kotlin.test.Asserter) {
b(ref)
println(":)")
}
@@ -0,0 +1,6 @@
package test
fun a(ref: kotlin.test.Asserter) {
b(ref)
println(":)")
}
@@ -0,0 +1,6 @@
package test
fun b(ref: kotlin.test.Asserter) {
a(ref)
println(":)")
}
@@ -0,0 +1,7 @@
Cleaning output files:
out/production/module/test/TestPackage-a-*.class
out/production/module/test/TestPackage.class
End of files
Compiling files:
src/a.kt
End of files
@@ -0,0 +1,3 @@
package foo
fun a() = "a"
@@ -0,0 +1,3 @@
package foo
fun b() = "b"
@@ -0,0 +1,3 @@
package bar
fun b() = "b"
@@ -0,0 +1,17 @@
Cleaning output files:
out/production/module/bar/BarPackage-c-*.class
out/production/module/bar/BarPackage.class
out/production/module/foo/FooPackage-b-*.class
out/production/module/foo/FooPackage.class
End of files
Compiling files:
src/b.kt
src/c.kt
End of files
Cleaning output files:
out/production/module/foo/FooPackage-a-*.class
out/production/module/foo/FooPackage.class
End of files
Compiling files:
src/a.kt
End of files
@@ -0,0 +1,3 @@
package bar
fun c() = "c"
@@ -0,0 +1,3 @@
package foo
fun c() = "c"
@@ -0,0 +1,3 @@
package a
fun a1() = ":)"
@@ -0,0 +1,3 @@
package a
fun a2() = ":))"
@@ -0,0 +1,3 @@
package b
fun b1() = ":("
@@ -0,0 +1,3 @@
package b
fun b2() = ":(("
@@ -0,0 +1,17 @@
Cleaning output files:
out/production/module/b/BPackage-b2-*.class
out/production/module/b/BPackage.class
End of files
Compiling files:
src/a2.kt
End of files
Cleaning output files:
out/production/module/a/APackage-a1-*.class
out/production/module/a/APackage.class
out/production/module/b/BPackage-b1-*.class
out/production/module/b/BPackage.class
End of files
Compiling files:
src/a1.kt
src/b1.kt
End of files
@@ -0,0 +1,3 @@
package klass
class Klass
@@ -0,0 +1,3 @@
package klass
class Klass
@@ -0,0 +1,8 @@
package test
import klass.*
fun a(klass: Klass) {
b(klass)
println(":)")
}
@@ -0,0 +1,8 @@
package test
import klass.*
fun a(klass: Klass) {
b(klass)
println(":)")
}
@@ -0,0 +1,8 @@
package test
import klass.*
fun a(klass: Klass) {
b(klass)
println(":)")
}
@@ -0,0 +1,8 @@
package test
import klass.*
fun b(klass: Klass) {
a(klass)
println(":)")
}
@@ -0,0 +1,18 @@
Cleaning output files:
out/production/module/test/TestPackage-a-*.class
out/production/module/test/TestPackage.class
End of files
Compiling files:
src/a.kt
End of files
Cleaning output files:
out/production/module/klass/Klass.class
out/production/module/test/TestPackage-a-*.class
out/production/module/test/TestPackage.class
End of files
Compiling files:
src/Klass.kt
src/a.kt
End of files
@@ -0,0 +1,3 @@
package test
fun a() = "a"
@@ -0,0 +1,3 @@
package test
fun b() = "b"
@@ -0,0 +1,11 @@
Cleaning output files:
out/production/module/test/TestPackage-a-*.class
out/production/module/test/TestPackage.class
End of files
Compiling files:
End of files
Compiling files:
src/b.kt
End of files
@@ -0,0 +1,3 @@
package test
fun a() = "a"
@@ -0,0 +1,3 @@
package test2
fun a() = "a"
@@ -0,0 +1,3 @@
package test
fun b() = "b"
@@ -0,0 +1,19 @@
Cleaning output files:
out/production/module/test/TestPackage-a-*.class
out/production/module/test/TestPackage.class
End of files
Compiling files:
src/a.kt
End of files
Compiling files:
src/b.kt
End of files
Cleaning output files:
out/production/module/test2/Test2Package-a-*.class
out/production/module/test2/Test2Package.class
End of files
Compiling files:
src/a.kt
End of files
@@ -0,0 +1,3 @@
package test
fun a() = "a"
@@ -0,0 +1,3 @@
package test
fun b() = "b"
@@ -0,0 +1,9 @@
Cleaning output files:
out/production/module/test/TestPackage-a-*.class
out/production/module/test/TestPackage.class
End of files
Cleaning output files:
out/production/module/test/TestPackage-b-*.class
End of files
Compiling files:
End of files
@@ -0,0 +1,3 @@
package foo
fun a() = "a"
@@ -0,0 +1,4 @@
package bar
fun a() = "a"
fun aa() = "aa"
@@ -0,0 +1,7 @@
Cleaning output files:
out/production/module/foo/FooPackage-a-*.class
out/production/module/foo/FooPackage.class
End of files
Compiling files:
src/a.kt
End of files