JS: remove diagnostic about callable reference to built-in
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user