i18n: fix bundle messages/testData messages where necessary

This commit is contained in:
Roman Golyshev
2020-02-27 14:43:41 +03:00
committed by Dmitry Gridin
parent e1cb561398
commit 1dded486f1
115 changed files with 163 additions and 163 deletions
@@ -2,24 +2,24 @@ fix.insert.delegation.call=Insert ''{0}()'' call
fix.introduce.non.null.assertion=Add non-null asserted (!!) call
fix.remove.non.null.assertion=Remove unnecessary non-null assertion (!!)
fix.add.annotation.target=Add annotation target
fix.add.const.modifier=Add ''const'' modifier
fix.add.const.modifier=Add 'const' modifier
fix.add.constructor.parameter=Add constructor parameter ''{0}''
fix.make.data.class=Make ''{0}'' a ''data'' class
fix.add.default.constructor=Add default constructor to ''expect'' class
fix.make.data.class=Make ''{0}'' data class
fix.add.default.constructor=Add default constructor to 'expect' class
fix.add.explicit.import=Add explicit import
fix.add.function.body=Add function body
fix.add.is.to.when=Add ''is'' before ''{0}''
fix.add.new.line.after.annotations=Add new line after annotations
fix.make.type.parameter.reified=Make {0} reified and {1} inline
fix.add.return.last.expression=Add ''return'' to last expression
fix.add.return.before.expression=Add ''return'' before the expression
fix.add.return.before.lambda.expression=Add ''run'' before the lambda expression
fix.add.return.last.expression=Add 'return' to last expression
fix.add.return.before.expression=Add 'return' before the expression
fix.add.return.before.lambda.expression=Add 'run' before the lambda expression
fix.add.semicolon.lambda.expression=Terminate preceding call with semicolon
fix.add.spread.operator.after.sam=Add a spread operator before an array passing as ''vararg''
fix.add.spread.operator.after.sam=Add a spread operator before an array passing as 'vararg'
fix.add.else.branch.when=Add else branch
fix.replace.with.assign.function.call=Replace with ''{0}'' call
fix.assign.to.property=Assign to property
fix.change.mutability.change.to.val=Change ''{0}'' to ''val''
fix.change.mutability.change.to.val=Change ''{0}'' to val
fix.change.type.argument=Change type argument to {0}
fix.change.to.function.invocation=Change to function invocation
fix.change.to.mutable.type=Change type to {0}
@@ -30,14 +30,14 @@ fix.change.to.property.access.family.change=Change to property access
fix.change.to.labeled.return.family=Change to return with label
fix.change.to.labeled.return.text=Change to ''{0}''
fix.change.suspend.hierarchy.add=Add ''suspend'' modifier to all functions in hierarchy
fix.change.suspend.hierarchy.remove=Remove ''suspend'' modifier from all functions in hierarchy
fix.change.suspend.hierarchy.add=Add 'suspend' modifier to all functions in hierarchy
fix.change.suspend.hierarchy.remove=Remove 'suspend' modifier from all functions in hierarchy
fix.change.progress.looking.inheritors=Looking for class {0} inheritors…
fix.change.progress.analyzing.class.hierarchy=Analyzing class hierarchy…
fix.change.return.type.family=Change type
fix.change.return.type.text.primary.constructor=Change parameter ''{0}'' type of primary constructor of class ''{1}'' to ''{2}''
fix.change.return.type.text.function=Change parameter ''{0}'' type of function of class ''{1}'' to ''{2}''
fix.change.return.type.text.function=Change parameter ''{0}'' type of function ''{1}'' to ''{2}''
fix.change.return.type.lambda=Change lambda expression return type to {0}
fix.change.return.type.remove.explicit.return.type=Remove explicitly specified return type
fix.change.return.type.remove.explicit.return.type.of=Remove explicitly specified return type of {0}
@@ -69,9 +69,9 @@ fix.add.remaining.branches.with.star.import=Add remaining branches with * import
fix.add.type.annnotation.family=Add type annotation
fix.add.type.annnotation.text=Add type ''{0}'' to parameter ''{1}''
fix.add.tostring.call.family=Add ''toString()'' call
fix.add.tostring.call.text=Add ''toString()'' call
fix.add.tostring.call.text.safe=Add safe ''?.toString()'' call
fix.add.tostring.call.family=Add 'toString()' call
fix.add.tostring.call.text=Add 'toString()' call
fix.add.tostring.call.text.safe=Add safe '?.toString()' call
fix.add.star.projection.family=Add star projections
fix.add.star.projection.text=Add ''{0}''
@@ -80,7 +80,7 @@ fix.change.to.star.projection.family=Change to star projection
fix.change.to.star.projection.text=Change type arguments to {0}
fix.change.to.use.spread.operator.family=Change to use spread operator
fix.change.to.use.spread.operator.text=Change ''{0}'' to ''{0}''
fix.change.to.use.spread.operator.text=Change ''{0}'' to ''{1}''
fix.change.type.family=Change type
fix.change.type.text=Change type from ''{0}'' to ''{1}''
@@ -98,15 +98,15 @@ fix.add.property.to.supertype.choose.type=Choose Type
fix.add.function.parameters.change.signature.constructor=Change the signature of constructor ''{0}''
fix.add.function.parameters.change.signature.function=Change the signature of function ''{0}''
fix.add.function.parameters.add.parameter.constructor=Add {0,number,ordinal} {1,choice,1#parameter|2#parameters to constructor {2}
fix.add.function.parameters.add.parameter.function=Add {0,number,ordinal} {1,choice,1#parameter|2#parameters to function {2}
fix.add.function.parameters.add.parameter.generic.constructor=Add parameter to constructor {0}
fix.add.function.parameters.add.parameter.generic.function=Add parameter to function {0}
fix.add.function.parameters.add.parameter.constructor=Add {0,number,ordinal} {1,choice,1#parameter|2#parameters} to constructor ''{2}''
fix.add.function.parameters.add.parameter.function=Add {0,number,ordinal} {1,choice,1#parameter|2#parameters} to function ''{2}''
fix.add.function.parameters.add.parameter.generic.constructor=Add {0,choice,1#parameter|2#parameters} to constructor ''{1}''
fix.add.function.parameters.add.parameter.generic.function=Add {0,choice,1#parameter|2#parameters} to function ''{1}''
fix.change.signature.family=Change signature of function/constructor
fix.change.signature.function.family=Change function signature
fix.change.signature.function.text=Change function signature to ''{0}''
fix.change.signature.function.text.generic=Change function signature
fix.change.signature.function.text.generic=Change function signature...
fix.change.signature.function.popup.title=Choose Signature
fix.change.signature.lambda=Change the signature of lambda expression
fix.change.signature.remove.parameter=Remove parameter ''{0}''
@@ -114,10 +114,10 @@ fix.change.signature.unavailable=<not available>
fix.change.signature.error=<error>
fix.change.signature.unnamed.parameter=parameter
fix.change.object.to.class=Change ''object'' to ''class''
fix.change.object.to.class=Change 'object' to 'class'
fix.add.function.supertype.family=Add function to supertype
fix.add.function.supertype.text=Add function to supertype
fix.add.function.supertype.text=Add function to supertype...
fix.add.function.supertype.progress=Add Function to Type
fix.add.function.supertype.choose.type=Choose Type
fix.add.function.supertype.add.to=Add ''{0}'' to ''{1}''
@@ -142,8 +142,8 @@ fix.add.modifier.text=Make {0} ''{1}''
fix.add.modifier.text.generic=Add ''{0}'' modifier
fix.add.argument.name.family=Add name to argument
fix.add.argument.name.text.generic=Add name to argument
fix.add.argument.name.text=Add name to argument: {0}
fix.add.argument.name.text.generic=Add name to argument...
fix.add.argument.name.text=Add name to argument: ''{0}''
fix.add.argument.name.step.choose.parameter.name=Choose parameter name
fix.change.feature.support.family=Enable/Disable {0} support
@@ -154,14 +154,14 @@ fix.change.feature.support.disabled=Disable {0} support
fix.create.expect.actual=Create expect / actual declaration
fix.create.missing.actual.members=Add missing actual members
fix.create.declaration.error=Can not generate {0}: {1}
fix.create.declaration.error=Cannot generate {0}: {1}
fix.create.declaration.error.inaccessible.type=Inaccessible type
fix.create.declaration.error.some.types.inaccessible=Some types are not accessible:
fix.add.annotation.family=Add annotation
fix.add.annotation.text.self=Add ''{0}'' annotation
fix.add.annotation.text.declaration=Add ''{0}'' annotation to {1}
fix.add.annotation.text.containing.class=Add ''{0}'' annotation to containing class {1}
fix.add.annotation.text.self=Add ''@{0}'' annotation
fix.add.annotation.text.declaration=Add ''@{0}'' annotation to ''{1}''
fix.add.annotation.text.containing.class=Add ''@{0}'' annotation to containing class ''{1}''
fix.import=Import
fix.import.kind.delegate.accessors=Delegate accessors
@@ -171,7 +171,7 @@ fix.import.exclude=Exclude ''{0}'' from auto-import
fix.move.file.to.package.family=Move file to package-matching directory
fix.move.file.to.package.text=Move file to {0}
fix.change.package.family=Change file's package to match directory
fix.change.package.family=file's package to match directory
fix.change.package.text=Change file''s package to {0}
action.add.import.chooser.title=Imports
@@ -294,8 +294,8 @@ plugin.updater.error.cant.find.plugin.version=Couldn't find plugin version in re
plugin.updater.error.custom.repository=Checking custom plugin repository {0} failed
quick.doc.text.enum.ordinal=Enum constant ordinal: {0}
quick.doc.text.tailrec=''tailrec'' marks a function as <a href="https://kotlinlang.org/docs/reference/functions.html#tail-recursive-functions">tail-recursive</a> (allowing the compiler to replace recursion with iteration)
quick.doc.text.lateinit=''lateinit'' allows initializing a <a href="https://kotlinlang.org/docs/reference/properties.html#late-initialized-properties-and-variables">not-null property outside of a constructor</a>
quick.doc.text.tailrec='tailrec' marks a function as <a href="https://kotlinlang.org/docs/reference/functions.html#tail-recursive-functions">tail-recursive</a> (allowing the compiler to replace recursion with iteration)
quick.doc.text.lateinit='lateinit' allows initializing a <a href="https://kotlinlang.org/docs/reference/properties.html#late-initialized-properties-and-variables">not-null property outside of a constructor</a>
quick.doc.no.documentation=No documentation available
quick.doc.section.deprecated=Deprecated:
quick.doc.section.replace.with=Replace with:
@@ -332,7 +332,7 @@ action.generate.test.support.choose.test.name=Choose test name:
action.generate.test.support.edit.template=Edit Template
action.generate.test.support.error.no.template.found=No template found for {0}:{1}
action.generate.test.support.error.cant.convert.java.template=Couldn't convert Java template to Kotlin
action.generate.test.support.error.cant.generate.method=Can not generate method: {0}
action.generate.test.support.error.cant.generate.method=Cannot generate method: {0}
action.generate.tostring.name=Generate toString()
action.generate.tostring.template.single=Single template
@@ -497,12 +497,12 @@ find.usages.type.value.parameter.type = Parameter type
find.usages.type.nonLocal.property.type = Class/object property type
find.usages.type.function.return.type = Function return types
find.usages.type.superType = Supertype
find.usages.type.is = Target type of ''is'' operation
find.usages.type.is = Target type of 'is' operation
find.usages.type.class.object = Nested class/object
find.usages.type.companion.object = Companion object
find.usages.type.function.call = Function call
find.usages.type.implicit.get = Implicit ''get''
find.usages.type.implicit.set = Implicit ''set''
find.usages.type.implicit.get = Implicit 'get'
find.usages.type.implicit.set = Implicit 'set'
find.usages.type.implicit.invoke = Implicit 'invoke'
find.usages.type.implicit.iteration = Implicit iteration
find.usages.type.property.delegation = Property delegation
@@ -625,7 +625,7 @@ highlighter.prefix.text.has.actuals.in=Has actuals in
highlighter.text.click.for.navigate=Click {0}to navigate
highlighter.text.has.functional.implementations=Has functional implementations
highlighter.text.implements=Implements
highlighter.text.in={0} in '{1}'
highlighter.text.in={0} in ''{1}''
highlighter.text.modules=\ ({0} modules)
highlighter.text.or.press=\ or press {0}
highlighter.text.overrides=Overrides
@@ -969,7 +969,7 @@ text.pushed.member.will.not.be.available.in.0=Pushed member won''t be available
text.qualified.call.will.not.be.processed.0=Qualified call won''t be processed: {0}
text.receiver.can.t.be.safely.transformed.to.value.argument=Receiver can''t be safely transformed to value argument: {0}
text.receiver=receiver
text.refactoring.can.t.be.performed.on.the.selected.code.element=Refactoring can''t be performed on the selected code element
text.refactoring.can.t.be.performed.on.the.selected.code.element=Refactoring can't be performed on the selected code element
text.refactoring.is.not.applicable.to.this.code.fragment=Refactoring is not applicable to this code fragment
text.references.in.code.to.0.1.and.its.declarations=References in code to {0} {1} and its declarations
text.remove.0.no.longer.used=Remove {0} no longer used
@@ -991,7 +991,7 @@ text.select.target.file=Select target file
text.the.following=The following
text.there.is.already.a.parameter=There is already a parameter ''{0}'' in {1}. It will conflict with the new parameter.
text.there.is.already.a.variable.0.in.1.it.will.conflict.with.the.new.parameter=There is already a variable ''{0}'' in {1}. It will conflict with the new parameter.
text.type.alias.cannot.refer.to.types.which.aren.t.accessible.in.the.scope.where.it.s.defined=Type alias cannot refer to types which aren''t accessible in the scope where it''s defined
text.type.alias.cannot.refer.to.types.which.aren.t.accessible.in.the.scope.where.it.s.defined=Type alias cannot refer to types which aren't accessible in the scope where it's defined
text.type.alias.name.must.be.a.valid.identifier.0=Type alias name must be a valid identifier: {0}
text.type.alias=type alias
text.type.already.exists.in.the.target.scope=Type {0} already exists in the target scope
@@ -2,8 +2,8 @@ action.text.implement.as.constructor.parameters=Implement as constructor paramet
action.text.implement.members=Implement members
hint.text.no.members.to.implement.have.been.found=No members to implement have been found
hint.text.no.members.to.override.have.been.found=No members to override have been found
hint.text.surround.with.cannot.perform.action=Cannot perform Surround With action to the current contextsurround.with.function.template={ }
hint.text.surround.with=Surround with
surround.with.error.cannot.perform.action=Cannot perform Surround With action to the current contextsurround.with.function.template={ }
surround.with.title=Surround with
notification.action.text.apply.context=Apply context
notification.action.text.enable.auto.reload=Enable auto-reload
notification.text.there.is.a.new.script.context.available=There is a new script context available.
@@ -1,6 +1,6 @@
classpath.add.reflection=Add ''kotlin-reflect.jar'' to the classpath
classpath.add.script.runtime=Add ''kotlin-script-runtime.jar'' to the classpath
classpath.add.kotlin.test=Add ''kotlin-test.jar'' to the classpath
classpath.add.reflection=Add 'kotlin-reflect.jar' to the classpath
classpath.add.script.runtime=Add 'kotlin-script-runtime.jar' to the classpath
classpath.add.kotlin.test=Add 'kotlin-test.jar' to the classpath
scratch.clear.button=Clear results
scratch.inlay.output.mode=Inlay output mode\n\nThe output is shown in the code editor right next to the expression. Well suited for a short single-line output.
@@ -29,7 +29,7 @@ inspection.javascript.in.java.module=JavaScript goal configured for module with
inspection.jvm.no.stdlib.dependency=Kotlin/JVM compiler configured but no ''{0}'' dependency
inspection.javascript.no.stdlib.dependency=Kotlin/JavaScript compiler configured but no ''{0}'' dependency
inspection.configured.no.execution=You have {0} configured but no corresponding plugin execution
inspection.same.execution.compile.test=It is not recommended to have both ''compile'' and ''test'' goals in the same execution
inspection.same.execution.compile.test=It is not recommended to have both 'compile' and 'test' goals in the same execution
fix.create.execution.name="Create {0} execution
fix.create.execution.family="Create Kotlin execution
@@ -47,7 +47,7 @@ fix.create.execution.compiler.family=Create Kotlin execution
fix.add.maven.dependency.name=Add Maven dependency…
fix.kotlin.test.junit.is.recommended=''kotlin-test-junit'' is recommended
fix.kotlin.test.junit.is.recommended='kotlin-test-junit' is recommended
fix.kotlin.test.junit.replace=Replace with ''kotlin-test-junit''
fix.move.to.compile.execution=Move to ''compile'' execution
@@ -89,7 +89,7 @@ class MavenUpdateConfigurationQuickFixTest : MavenImportingTestCase() {
@Test
fun testAddKotlinReflect() {
doTest("Add kotlin-reflect.jar to the classpath")
doTest("Add 'kotlin-reflect.jar' to the classpath")
}
private fun doTest(intentionName: String) {
@@ -40,4 +40,4 @@
</build>
</project>
<!-- problem: on <goals><goal>compile</goal><goal>test-compile</goal></goals>, title It is not recommended to have both test and compile goals in the same execution -->
<!-- problem: on <goals><goal>compile</goal><goal>test-compile</goal></goals>, title It is not recommended to have both 'compile' and 'test' goals in the same execution -->
@@ -54,4 +54,4 @@
</project>
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.KotlinTestJUnitInspection -->
<!-- problem: on kotlin-test, title kotlin-test-junit is better with junit -->
<!-- problem: on kotlin-test, title 'kotlin-test-junit' is recommended -->
@@ -54,4 +54,4 @@
</project>
<!-- inspection: org.jetbrains.kotlin.idea.maven.inspections.KotlinTestJUnitInspection -->
<!-- problem: on kotlin-test, title kotlin-test-junit is better with junit -->
<!-- problem: on kotlin-test, title 'kotlin-test-junit' is recommended -->
@@ -40,5 +40,5 @@
</build>
</project>
<!-- problem: on kotlin-maven-plugin, title Kotlin JVM compiler configured but no kotlin-stdlib dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin JavaScript compiler configured but no kotlin-stdlib-js dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin/JVM compiler configured but no 'kotlin-stdlib' dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin/JavaScript compiler configured but no 'kotlin-stdlib-js' dependency -->
@@ -40,5 +40,5 @@
</build>
</project>
<!-- problem: on kotlin-maven-plugin, title Kotlin JVM compiler configured but no kotlin-stdlib dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin JavaScript compiler configured but no kotlin-stdlib-js dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin/JVM compiler configured but no 'kotlin-stdlib' dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin/JavaScript compiler configured but no 'kotlin-stdlib-js' dependency -->
@@ -32,5 +32,5 @@
</build>
</project>
<!-- problem: on kotlin-maven-plugin, title Kotlin JVM compiler configured but no kotlin-stdlib dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin JavaScript compiler configured but no kotlin-stdlib-js dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin/JVM compiler configured but no 'kotlin-stdlib' dependency -->
<!-- problem: on kotlin-maven-plugin, title Kotlin/JavaScript compiler configured but no 'kotlin-stdlib-js' dependency -->
@@ -19,5 +19,5 @@ error.coroutine.context.unavailable='coroutineContext' is not available
error.not.captured=''{0}'' is not captured
error.cant.find.backing.field=Cannot find the backing field ''{0}''
error.parameter.evaluation.default.methods=Parameter evaluation is not supported for '$default' methods
error.cant.find.variable=Can not find local variable ''{0}'' with type {1}
error.cant.find.class=Can not find class ''{0}'' in the current ClassLoader
error.cant.find.variable=Cannot find local variable ''{0}'' with type {1}
error.cant.find.class=Cannot find class ''{0}'' in the current ClassLoader
@@ -84,9 +84,9 @@ class AddFunctionParametersFix(
}
is Kind.AddParameterGeneric -> {
if (isConstructor()) {
KotlinBundle.message("fix.add.function.parameters.add.parameter.generic.constructor", declarationName)
KotlinBundle.message("fix.add.function.parameters.add.parameter.generic.constructor", newParametersCnt, declarationName)
} else {
KotlinBundle.message("fix.add.function.parameters.add.parameter.generic.function", declarationName)
KotlinBundle.message("fix.add.function.parameters.add.parameter.generic.function", newParametersCnt, declarationName)
}
}
is Kind.AddParameter -> {
+1 -1
View File
@@ -2,4 +2,4 @@ class Foo {
<caret>lateinit var foo: String
}
//INFO: lateinit allows initializing a <a href="https://kotlinlang.org/docs/reference/properties.html#late-initialized-properties-and-variables">non-null property outside of a constructor</a>
//INFO: 'lateinit' allows initializing a <a href="https://kotlinlang.org/docs/reference/properties.html#late-initialized-properties-and-variables">not-null property outside of a constructor</a>
+1 -1
View File
@@ -2,4 +2,4 @@
foo()
}
//INFO: tailrec marks a function as <a href="https://kotlinlang.org/docs/reference/functions.html#tail-recursive-functions">tail-recursive</a> (allowing the compiler to replace recursion with iteration)
//INFO: 'tailrec' marks a function as <a href="https://kotlinlang.org/docs/reference/functions.html#tail-recursive-functions">tail-recursive</a> (allowing the compiler to replace recursion with iteration)
@@ -2,7 +2,7 @@
// ERROR: Class 'End' is not abstract and does not implement abstract member public abstract val a: Int defined in IFoo
// ACTION: Create test
// ACTION: Implement members
// ACTION: Make 'End' abstract
// ACTION: Make 'End' 'abstract'
// ACTION: Rename file to End.kt
actual class <caret>End actual constructor(i: Int) : IFoo
@@ -1,4 +1,4 @@
// "Make 'One' open" "true"
// "Make 'One' 'open'" "true"
actual class One
class Two : <caret>One()
@@ -1,4 +1,4 @@
// "Make 'One' open" "true"
// "Make 'One' 'open'" "true"
actual open class One
class Two : <caret>One()
@@ -1,4 +1,4 @@
// "Make 'One' open" "true"
// "Make 'One' 'open'" "true"
// ERROR: Expected class 'Two' has no actual declaration in module testModule_JVM for JVM
expect class One
@@ -1,4 +1,4 @@
// "Make 'One' open" "true"
// "Make 'One' 'open'" "true"
// ERROR: Expected class 'Two' has no actual declaration in module testModule_JVM for JVM
expect open class One
@@ -1,4 +1,4 @@
// "Make 'Owner' abstract" "false"
// "Make 'Owner' 'abstract'" "false"
// ERROR: Abstract property 'x' in non-abstract class 'Companion'
// ACTION: Make 'x' not abstract
// ACTION: Make internal
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "true"
// "Make 'A' 'abstract'" "true"
class A() {
<caret>abstract var i : Int
}
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "true"
// "Make 'A' 'abstract'" "true"
abstract class A() {
<caret>abstract var i : Int
}
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "true"
// "Make 'A' 'abstract'" "true"
public class A() {
<caret>abstract var i : Int
}
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "true"
// "Make 'A' 'abstract'" "true"
public abstract class A() {
<caret>abstract var i : Int
}
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "false"
// "Make 'A' 'abstract'" "false"
// ACTION: Implement members
// ERROR: Class 'A' is not abstract and does not implement abstract member public abstract fun foo(): Unit defined in E
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "false"
// "Make 'A' 'abstract'" "false"
// ERROR: Class 'A' is not abstract and does not implement abstract member public abstract fun foo(): String defined in I
// ERROR: Primary constructor is required for inline class
// ACTION: Create test
@@ -1,4 +1,4 @@
// "Make 'foo' abstract" "false"
// "Make 'foo' 'abstract'" "false"
// ACTION: Add function body
// ACTION: Make internal
// ACTION: Make private
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'foo' abstract" "false"
// "Make 'foo' 'abstract'" "false"
// ACTION: Add function body
// ACTION: Create test
// ACTION: Make internal
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "false"
// "Make 'A' 'abstract'" "false"
// ERROR: Class 'X' must override public open fun foo(): Unit defined in X because it inherits many implementations of it
// ACTION: Create test
// ACTION: Make internal
@@ -1,4 +1,4 @@
// "Make 'i' abstract" "true"
// "Make 'i' 'abstract'" "true"
abstract class A() {
var <caret>i : Int
}
@@ -1,4 +1,4 @@
// "Make 'i' abstract" "true"
// "Make 'i' 'abstract'" "true"
abstract class A() {
abstract var <caret>i : Int
}
@@ -1,4 +1,4 @@
// "Make 'i' abstract" "true"
// "Make 'i' 'abstract'" "true"
class A() {
var <caret>i : Int
}
@@ -1,4 +1,4 @@
// "Make 'i' abstract" "true"
// "Make 'i' 'abstract'" "true"
abstract class A() {
abstract var <caret>i : Int
}
@@ -1,4 +1,4 @@
// "Make 'i' abstract" "true"
// "Make 'i' 'abstract'" "true"
open class A() {
var <caret>i : Int
}
@@ -1,4 +1,4 @@
// "Make 'i' abstract" "true"
// "Make 'i' 'abstract'" "true"
abstract class A() {
abstract var <caret>i : Int
}
@@ -1,4 +1,4 @@
// "Make 'i' abstract" "true"
// "Make 'i' 'abstract'" "true"
sealed class A() {
fun <caret>i() : Int
}
@@ -1,4 +1,4 @@
// "Make 'i' abstract" "true"
// "Make 'i' 'abstract'" "true"
sealed class A() {
abstract fun <caret>i() : Int
}
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "true"
// "Make 'A' 'abstract'" "true"
interface I {
fun foo()
}
@@ -1,4 +1,4 @@
// "Make 'A' abstract" "true"
// "Make 'A' 'abstract'" "true"
interface I {
fun foo()
}
@@ -1,4 +1,4 @@
// "Make 'B' abstract" "true"
// "Make 'B' 'abstract'" "true"
abstract class A {
abstract fun foo()
}
@@ -1,4 +1,4 @@
// "Make 'B' abstract" "true"
// "Make 'B' 'abstract'" "true"
abstract class A {
abstract fun foo()
}
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'foo' abstract" "true"
// "Make 'foo' 'abstract'" "true"
abstract class B() {
open fun <caret>foo()
}
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'foo' abstract" "true"
// "Make 'foo' 'abstract'" "true"
abstract class B() {
abstract fun <caret>foo()
}
+1 -1
View File
@@ -1,4 +1,4 @@
// "Add default constructor to expect class" "true"
// "Add default constructor to 'expect' class" "true"
// ENABLE_MULTIPLATFORM
// ERROR: Expected class 'A' has no actual declaration in module light_idea_test_case for JVM
@@ -1,4 +1,4 @@
// "Add default constructor to expect class" "true"
// "Add default constructor to 'expect' class" "true"
// ENABLE_MULTIPLATFORM
// ERROR: Expected class 'A' has no actual declaration in module light_idea_test_case for JVM
@@ -1,4 +1,4 @@
// "Add default constructor to expect class" "false"
// "Add default constructor to 'expect' class" "false"
// ENABLE_MULTIPLATFORM
// ACTION: Create subclass
// ACTION: Introduce import alias
+1 -1
View File
@@ -1,4 +1,4 @@
// "Add default constructor to expect class" "false"
// "Add default constructor to 'expect' class" "false"
// ACTION: Create subclass
// ACTION: Introduce import alias
// ACTION: Remove constructor call
@@ -1,4 +1,4 @@
// "Add '@JvmDefault' annotation" "true"
// "Add 'JvmDefault' annotation" "true"
// COMPILER_ARGUMENTS: -Xjvm-default=enable
// WITH_RUNTIME
interface Bar : Foo {
@@ -1,4 +1,4 @@
// "Add '@JvmDefault' annotation" "true"
// "Add 'JvmDefault' annotation" "true"
// COMPILER_ARGUMENTS: -Xjvm-default=enable
// WITH_RUNTIME
interface Bar : Foo {
@@ -1,5 +1,5 @@
// FILE: test.before.kt
// "Add a spread operator before an array passing as vararg" "true"
// "Add a spread operator before an array passing as 'vararg'" "true"
// WARNING: Please use spread operator to pass an array as vararg. It will be an error in 1.5.
// COMPILER_ARGUMENTS: -XXLanguage:-ProhibitVarargAsArrayAfterSamArgument
// WITH_RUNTIME
@@ -16,7 +16,7 @@ public class Test {
}
// FILE: test.after.kt
// "Add a spread operator before an array passing as vararg" "true"
// "Add a spread operator before an array passing as 'vararg'" "true"
// WARNING: Please use spread operator to pass an array as vararg. It will be an error in 1.5.
// COMPILER_ARGUMENTS: -XXLanguage:-ProhibitVarargAsArrayAfterSamArgument
// WITH_RUNTIME
@@ -1,4 +1,4 @@
// "Change object to class" "true"
// "Change 'object' to 'class'" "true"
annotation class Ann
// comment
@@ -1,4 +1,4 @@
// "Change object to class" "true"
// "Change 'object' to 'class'" "true"
annotation class Ann
// comment
@@ -1,4 +1,4 @@
// "Change object to class" "true"
// "Change 'object' to 'class'" "true"
annotation class Ann
// comment
@@ -1,4 +1,4 @@
// "Change object to class" "true"
// "Change 'object' to 'class'" "true"
annotation class Ann
// comment
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'x' final" "true"
// "Make 'x' 'final'" "true"
open class My(open val x: Int) {
val y = <caret>x
@@ -1,4 +1,4 @@
// "Make 'x' final" "true"
// "Make 'x' 'final'" "true"
open class My(val x: Int) {
val y = x
@@ -1,4 +1,4 @@
// "Make 'My' final" "true"
// "Make 'My' 'final'" "true"
open class My(open val x: Int) {
val y = <caret>x
@@ -1,4 +1,4 @@
// "Make 'My' final" "true"
// "Make 'My' 'final'" "true"
class My(open val x: Int) {
val y = x
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'init' final" "true"
// "Make 'init' 'final'" "true"
open class My {
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'init' final" "true"
// "Make 'init' 'final'" "true"
open class My {
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'My' final" "true"
// "Make 'My' 'final'" "true"
open class My {
@@ -1,4 +1,4 @@
// "Make 'My' final" "true"
// "Make 'My' 'final'" "true"
class My {
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'My' final" "true"
// "Make 'My' 'final'" "true"
open class My {
init {
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'My' final" "true"
// "Make 'My' 'final'" "true"
class My {
init {
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
class A(<caret>internal val a: String = "") {
fun foo() {
a
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
class A(private val a: String = "") {
fun foo() {
a
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
class A {
<caret>internal val a = ""
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
class A {
private val a = ""
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
class A {
val <caret>a = ""
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
class A {
private val a = ""
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
open class A {
<caret>protected val a = ""
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
open class A {
private val a = ""
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
class A {
<caret>public val a = ""
@@ -1,4 +1,4 @@
// "Make 'a' private" "true"
// "Make 'a' 'private'" "true"
class A {
private val a = ""
@@ -1,3 +1,3 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
final class A {}
class B : A<caret>() {}
@@ -1,3 +1,3 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
open class A {}
class B : A<caret>() {}
@@ -1,3 +1,3 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
final class A {}
class B<T : A<caret>> {}
@@ -1,3 +1,3 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
open class A {}
class B<T : A<caret>> {}
@@ -1,3 +1,3 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
class A {}
class B : A<caret>() {}
@@ -1,3 +1,3 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
open class A {}
class B : A<caret>() {}
@@ -1,3 +1,3 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
final class A {}
class B<T : A<caret>> {}
@@ -1,3 +1,3 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
open class A {}
class B<T : A<caret>> {}
@@ -1,4 +1,4 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
interface X {}
interface Y {}
@@ -1,4 +1,4 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
interface X {}
interface Y {}
@@ -1,4 +1,4 @@
// "Make 'B' open" "true"
// "Make 'B' 'open'" "true"
class A {
class B
}
@@ -1,4 +1,4 @@
// "Make 'B' open" "true"
// "Make 'B' 'open'" "true"
class A {
open class B
}
@@ -1,4 +1,4 @@
// "Make 'MyClass' open" "false"
// "Make 'MyClass' 'open'" "false"
// ACTION: Convert to lazy property
// ACTION: Make 'y' not open
// ACTION: Add 'const' modifier
@@ -1,4 +1,4 @@
// "Make 'B' open" "true"
// "Make 'B' 'open'" "true"
class B {
constructor() {
}
@@ -1,4 +1,4 @@
// "Make 'B' open" "true"
// "Make 'B' 'open'" "true"
open class B {
constructor() {
}
@@ -1,4 +1,4 @@
// "Make 'B' open" "true"
// "Make 'B' 'open'" "true"
class B {
constructor() {
}
@@ -1,4 +1,4 @@
// "Make 'B' open" "true"
// "Make 'B' 'open'" "true"
open class B {
constructor() {
}
@@ -1,4 +1,4 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
class A(val v: Int)
class B : A<caret>(1)
@@ -1,4 +1,4 @@
// "Make 'A' open" "true"
// "Make 'A' 'open'" "true"
open class A(val v: Int)
class B : A<caret>(1)
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'i' const" "true"
// "Make 'i' 'const'" "true"
// ERROR: Only 'const val' can be used in constant expressions
package constVal
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'i' const" "true"
// "Make 'i' 'const'" "true"
// ERROR: Only 'const val' can be used in constant expressions
package constVal
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'IterablePipeline' abstract" "true"
// "Make 'IterablePipeline' 'abstract'" "true"
// ERROR: 'pipe' overrides nothing
// ERROR: One type argument expected for interface Pipeline<TPipeline>
+1 -1
View File
@@ -1,4 +1,4 @@
// "Make 'IterablePipeline' abstract" "true"
// "Make 'IterablePipeline' 'abstract'" "true"
// ERROR: 'pipe' overrides nothing
// ERROR: One type argument expected for interface Pipeline<TPipeline>
+1 -1
View File
@@ -1,6 +1,6 @@
// "Add 'lateinit' modifier" "false"
// ACTION: Add initializer
// ACTION: Make 'a' abstract
// ACTION: Make 'a' 'abstract'
// ACTION: Move to constructor parameters
// ACTION: Move to constructor
// ACTION: Add getter
+1 -1
View File
@@ -1,7 +1,7 @@
// "Add 'lateinit' modifier" "false"
// ACTION: Add initializer
// ACTION: Introduce import alias
// ACTION: Make 'a' abstract
// ACTION: Make 'a' 'abstract'
// ACTION: Move to constructor parameters
// ACTION: Move to constructor
// ACTION: Add getter

Some files were not shown because too many files have changed in this diff Show More