JS: refactor generation of callable references to functions
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// Enable when callable references to builtin members is supported
|
||||
// IGNORE_BACKEND: JS
|
||||
fun <T> get(t: T): () -> String {
|
||||
return t::toString
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user