Fix invalid usage of descriptorToDeclaration in QuickFixUtil
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// "class org.jetbrains.jet.plugin.quickfix.ChangeParameterTypeFix" "false"
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>kotlin.Int</td></tr><tr><td>Found:</td><td>kotlin.String</td></tr></table></html>
|
||||
trait A {
|
||||
fun f(i: Int): Boolean
|
||||
}
|
||||
|
||||
open class AA {
|
||||
fun f(i: Int) = true
|
||||
}
|
||||
|
||||
class AAA: AA(), A
|
||||
|
||||
val c = AAA().f("<caret>")
|
||||
Reference in New Issue
Block a user