Do not import "kotlin.comparisons" by default for language version 1.0

#KT-16199 Fixed
This commit is contained in:
Alexander Udalov
2017-02-06 20:22:28 +03:00
parent 8014000bd1
commit b780e6d374
17 changed files with 83 additions and 51 deletions
@@ -0,0 +1,3 @@
// !LANGUAGE: -DefaultImportOfPackageKotlinComparisons
fun foo() = <!UNRESOLVED_REFERENCE!>compareBy<!><String> { <!UNRESOLVED_REFERENCE!>it<!>.<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>length<!> }
@@ -0,0 +1,3 @@
package
public fun foo(): [ERROR : Error function type]