Add a set of new tests for KT-27075 (create expected class) + some fixes

This commit is contained in:
Mikhail Glukhikh
2018-11-20 13:48:48 +03:00
parent 4ab4358d22
commit f31428257d
37 changed files with 400 additions and 34 deletions
@@ -0,0 +1 @@
expect fun <T> createList(): java.util.ArrayList<T>
@@ -0,0 +1,6 @@
// "Create expected function in common module proj_Common" "true"
// DISABLE-ERRORS
import java.util.ArrayList
actual fun <T> <caret>createList(): ArrayList<T> = ArrayList()
@@ -0,0 +1,6 @@
// "Create expected function in common module proj_Common" "true"
// DISABLE-ERRORS
import java.util.ArrayList
actual fun <T> createList(): ArrayList<T> = ArrayList()