Handle unsafe implicit invoke on array access expression (#1151)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// "Replace with safe (?.) call" "true"
|
||||
// WITH_RUNTIME
|
||||
|
||||
val functions: Map<String, () -> Any> = TODO()
|
||||
|
||||
fun run(name: String) = functions[name]?.invoke()
|
||||
Reference in New Issue
Block a user