Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed

This commit is contained in:
Mikhail Glukhikh
2020-03-04 17:54:33 +03:00
parent 186e0b0cba
commit 8884cbe415
2268 changed files with 1175 additions and 19754 deletions
@@ -1,9 +0,0 @@
// FILE: A.java
public class A {
public static void main(String[] args) {}
}
// FILE: 1.kt
fun main() {
A.main(arrayOf())
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// FILE: A.java
public class A {
public static void main(String[] args) {}
@@ -1,6 +0,0 @@
fun test() {
val p: Array<String> = arrayOf("a")
foo(*p)
}
fun foo(vararg a: String?) = a
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
fun test() {
val p: Array<String> = arrayOf("a")
foo(*p)