JetCompilerMessagingTest and K2JSCompilerMessagingTest: tests that launch the cli compiler and check that resulting messages are in correct format
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
package foo
|
||||
|
||||
fun f() {
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun main(args : Array<String>) {}
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
package foo
|
||||
|
||||
import js.*
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
val c = 4 + libf()
|
||||
c == 2
|
||||
}
|
||||
+1
-1
@@ -2,4 +2,4 @@ package foo
|
||||
|
||||
fun f() : Boolean {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun main(args : Array<String>) {
|
||||
val t = 0
|
||||
if (t != null) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun main(args : Array<String>) {}
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo
|
||||
|
||||
fun f() : Boolean {
|
||||
|
||||
}
|
||||
+1
-1
@@ -2,4 +2,4 @@ package foo
|
||||
|
||||
fun f(s : String) {
|
||||
s!!
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user