Exclude exceptions from java.lang package for which type aliases exist in kotlin package.

Add relevant note to the type aliases.
This commit is contained in:
Ilya Gorbunov
2016-08-11 20:21:21 +03:00
parent 0d7819e011
commit cf898ae357
2 changed files with 20 additions and 1 deletions
+3 -1
View File
@@ -30,5 +30,7 @@ public typealias NullPointerException = java.lang.NullPointerException
public typealias ClassCastException = java.lang.ClassCastException
public typealias AssertionError = java.lang.AssertionError
// kotlin or kotlin.collections?
public typealias NoSuchElementException = java.util.NoSuchElementException
// NOTE: If you're adding type aliases to types from java.lang, do not forget to exclude aliased types from
// imported by default java.lang package. See JvmPlatform.defaultModuleParameters.excludedImports property.