Rename jet -> kotlin in idea: quickfixes
org.jetbrains.jet.plugin.quickfix -> org.jetbrains.kotlin.idea.quickfix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// "class org.jetbrains.jet.plugin.quickfix.MakeOverriddenMemberOpenFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix" "false"
|
||||
// ERROR: 'notify' in 'Object' is final and cannot be overridden
|
||||
class A : Object() {
|
||||
override<caret> fun notify() {}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.jet.plugin.quickfix.MakeOverriddenMemberOpenFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.MakeOverriddenMemberOpenFix" "false"
|
||||
// ERROR: This type is final, so it cannot be inherited from
|
||||
// ERROR: Cannot access '<init>': it is 'private' in 'E'
|
||||
// ERROR: 'ordinal' in 'E' is final and cannot be overridden
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.jet.plugin.quickfix.RenameParameterToMatchOverriddenMethodFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.RenameParameterToMatchOverriddenMethodFix" "false"
|
||||
|
||||
abstract class A {
|
||||
abstract fun foo(arg : Int) : Int;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.jet.plugin.quickfix.ChangeMemberFunctionSignatureFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ChangeMemberFunctionSignatureFix" "false"
|
||||
// ERROR: 'f' overrides nothing
|
||||
open class A {
|
||||
open fun foo() {}
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.jet.plugin.quickfix.ChangeVariableTypeFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix" "false"
|
||||
// ERROR: <html>Var-property type is 'kotlin.String', which is not a type of overridden<br/><b>internal</b> <b>abstract</b> <b>var</b> x: kotlin.Int <i>defined in</i> A</html>
|
||||
trait A {
|
||||
var x: Int
|
||||
@@ -10,4 +10,4 @@ trait B {
|
||||
|
||||
trait C : A, B {
|
||||
override var x: String<caret>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.jet.plugin.quickfix.ChangeVariableTypeFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ChangeVariableTypeFix" "false"
|
||||
// ERROR: <html>Var-property type is 'kotlin.Int', which is not a type of overridden<br/><b>internal</b> <b>abstract</b> <b>var</b> x: kotlin.String <i>defined in</i> A</html>
|
||||
trait A {
|
||||
var x: String
|
||||
@@ -10,4 +10,4 @@ trait B {
|
||||
|
||||
trait C : A, B {
|
||||
override var x: Int<caret>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// "class org.jetbrains.jet.plugin.quickfix.ChangeFunctionReturnTypeFix" "false"
|
||||
// "class org.jetbrains.kotlin.idea.quickfix.ChangeFunctionReturnTypeFix" "false"
|
||||
// ERROR: <html>Return type is 'kotlin.Long', which is not a subtype of overridden<br/><b>internal</b> <b>abstract</b> <b>fun</b> foo(): kotlin.Int <i>defined in</i> A</html>
|
||||
trait A {
|
||||
fun foo(): Int
|
||||
@@ -10,4 +10,4 @@ trait B {
|
||||
|
||||
trait C : A, B {
|
||||
override fun foo(): Long
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user