bashor
11/29/2016, 12:50 PMAnalyze > Run inspection by Name.
2. In the pop-up frame that opens, start typing the inspection name "Implicit (unsafe) cast from dynamic type".
3. Use Whole Project the inspection scope.
4. Click OK
Note: to do it You should have Kotlin plugin 1.0.5 or 1.1-m3 or newer.
And now we would like to know in which cases the inspection is tirggered.
For example, for me it is:
* when make (unsafe) cast w/o runtime overhed
* on result of kotlin.js function, e.g. fun foo(): Any = js("Object.create()")
* when get data from dynamic call, e.g. props.asDynamic()["data-toggle"]
If You have any other case please share to us here or directly to me.
Thanks!