JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package kotlin1
|
||||
|
||||
import java.util.*
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
val al : ArrayList<Int> = ArrayList<Int>()
|
||||
|
||||
// A type mismatch on this line means that jdk-annotations were not loaded
|
||||
al.toArray(Array<Int>(3, {1})) : Array<Int>
|
||||
}
|
||||
Reference in New Issue
Block a user