Assertions on approximation of platform types to non-null types

- for most expressions (ExpressionCodegen.genQualified)
This commit is contained in:
Andrey Breslav
2014-10-05 22:18:15 +04:00
parent 3d5d3e00e3
commit f1c66fa6b0
11 changed files with 193 additions and 24 deletions
@@ -1,8 +1,8 @@
import java.util.ArrayList
fun foo() {
fun foo(): Any {
val a = ArrayList<String>()
a.get(0)
return a.get(0)
}
fun bar(a: ArrayList<String>) {