Introduce "redundant asDynamic" inspection #KT-25177 Fixed
This commit is contained in:
committed by
Anton Bannykh
parent
2c4e21ca36
commit
605736b6ba
@@ -0,0 +1 @@
|
||||
org.jetbrains.kotlin.idea.inspections.RedundantAsDynamicInspection
|
||||
@@ -0,0 +1,4 @@
|
||||
// JS
|
||||
fun test(d: dynamic) {
|
||||
d.<caret>asDynamic().foo()
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// JS
|
||||
fun test(d: dynamic) {
|
||||
d.foo()
|
||||
}
|
||||
Reference in New Issue
Block a user