JS: remove diagnostic about callable reference to built-in

This commit is contained in:
Alexey Andreev
2017-01-25 11:39:01 +03:00
parent ad4fb44827
commit 31c758994d
6 changed files with 0 additions and 25 deletions
@@ -1,4 +0,0 @@
$TESTDATA_DIR$/diagnosticWhenReferenceToBuiltinsMember.kt
-no-stdlib
-output
$TEMP_DIR$/out.js
@@ -1,6 +0,0 @@
package foo
fun test() {
Int::toByte
String::get
}
@@ -1,7 +0,0 @@
compiler/testData/cli/js/diagnosticWhenReferenceToBuiltinsMember.kt:4:5: error: callable references for builtin members are not supported yet: 'Int::toByte'
Int::toByte
^
compiler/testData/cli/js/diagnosticWhenReferenceToBuiltinsMember.kt:5:5: error: callable references for builtin members are not supported yet: 'String::get'
String::get
^
COMPILATION_ERROR