No subpackages of current package resolved by short name

This commit is contained in:
Valentin Kipyatkov
2014-12-25 17:14:28 +03:00
parent 817b86a820
commit a383a82ddd
9 changed files with 16 additions and 8 deletions
@@ -3,6 +3,6 @@
// This is a stub test. One should not extend Java packages that come from libraries.
package java
val c : lang.Class<*>? = null
val c : java.lang.Class<*>? = null
val <T> Array<T>?.length : Int get() = if (this != null) <!DEBUG_INFO_SMARTCAST!>this<!>.size() else throw NullPointerException()