mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] misc: update testdata after switching to 1.5
GitOrigin-RevId: 3901d27f26b349b4fbf40d50bad6a37f06c1182e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
597cae54ea
commit
974ddc03c2
-1
@@ -1,5 +1,4 @@
|
||||
// PROBLEM: none
|
||||
// ERROR: Constructor must be private in sealed class
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:-SealedInterfaces
|
||||
sealed class Foo {
|
||||
<caret>protected constructor()
|
||||
|
||||
+4
-3
@@ -2,9 +2,10 @@
|
||||
<problem>
|
||||
<file>barPackageMismatched.kt</file>
|
||||
<line>1</line>
|
||||
<module>testPackageDirectoryMismatch_PackageDirectoryMismatch_0</module>
|
||||
<entry_point TYPE="file" FQNAME="barPackageMismatched.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Package name does not match containing directory</problem_class>
|
||||
<module>testMismatchedProjectAndDirectory_MismatchedProjectAndDirectory</module>
|
||||
<package>bar</package>
|
||||
<entry_point TYPE="file" FQNAME="barPackageMismatched.kt"/>
|
||||
<problem_class id="PackageDirectoryMismatch" severity="INFO" attribute_key="INFO_ATTRIBUTES">Package name does not match containing directory</problem_class>
|
||||
<description>Package directive does not match the file location</description>
|
||||
</problem>
|
||||
</problems>
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
<line>2</line>
|
||||
<module>testMismatchedProjectAndDirectoryRoot_MismatchedProjectAndDirectoryRoot</module>
|
||||
<entry_point TYPE="file" FQNAME="rootPackageMatched.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Package name does not match containing directory</problem_class>
|
||||
<problem_class id="PackageDirectoryMismatch" severity="INFO" attribute_key="INFO_ATTRIBUTES">Package name does not match containing directory</problem_class>
|
||||
<description>Package directive does not match the file location</description>
|
||||
</problem>
|
||||
</problems>
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// "Convert to anonymous object" "true"
|
||||
// ERROR: Interfaces cannot initialize supertypes
|
||||
interface I0 {
|
||||
fun x() {}
|
||||
}
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// "Convert to anonymous object" "true"
|
||||
// ERROR: Interfaces cannot initialize supertypes
|
||||
interface I0 {
|
||||
fun x() {}
|
||||
}
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
Sealed class 'SealedClass' must be moved with all its subclasses
|
||||
+1
-1
@@ -3,6 +3,6 @@ fun a(k: Int, b: Int = 0, c: String = "Hello World!", d: Double, vararg t: Strin
|
||||
fun c() {
|
||||
<warning descr="SSR">a(0, 0, "This is test!", 0.0, "Test")</warning>
|
||||
<warning descr="SSR">a(0, d = 0.0, t = *<warning descr="[REDUNDANT_SPREAD_OPERATOR_IN_NAMED_FORM_IN_FUNCTION] Redundant spread (*) operator">arrayOf("Test")</warning>)</warning>
|
||||
<warning descr="SSR">a(b = 0, c = "This is a test!", k = 0, <warning descr="[CHANGING_ARGUMENTS_EXECUTION_ORDER_FOR_NAMED_VARARGS] Arguments execution order is going to be changed in a future release. The expression for named vararg argument will be executed in the order in which it was listed, not at the end. See KT-17691 for more details.">t = *<warning descr="[REDUNDANT_SPREAD_OPERATOR_IN_NAMED_FORM_IN_FUNCTION] Redundant spread (*) operator">arrayOf("Test")</warning></warning>, d = 0.0)</warning>
|
||||
<warning descr="SSR">a(b = 0, c = "This is a test!", k = 0, t = *<warning descr="[REDUNDANT_SPREAD_OPERATOR_IN_NAMED_FORM_IN_FUNCTION] Redundant spread (*) operator">arrayOf("Test")</warning>, d = 0.0)</warning>
|
||||
<warning descr="SSR">a(k = 0, d = 0.0, t = *<warning descr="[REDUNDANT_SPREAD_OPERATOR_IN_NAMED_FORM_IN_FUNCTION] Redundant spread (*) operator">arrayOf("Test")</warning>)</warning>
|
||||
}
|
||||
+1
-3
@@ -9,10 +9,8 @@ Cleaning output files:
|
||||
out/production/module/OuterClass.class
|
||||
out/production/module/UsagePartBKt.class
|
||||
out/production/module/Utils.class
|
||||
out/production/module/Utils__PartBKt.class
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/module/Utils__PartAKt.class
|
||||
out/production/module/Utils__PartBKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/partA.kt
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ Connected to the target VM
|
||||
collections.kt:6
|
||||
Compile bytecode for arrayListOf(1, 2).map { it.toString() }
|
||||
Compile bytecode for arrayListOf(1, 2, 101, 102).filter { it > 100 }
|
||||
Compile bytecode for arrayListOf(1, 2).max()
|
||||
Compile bytecode for arrayListOf(1, 2).maxOrNull()
|
||||
Compile bytecode for arrayListOf(1, 2).count()
|
||||
Compile bytecode for arrayListOf(1, 2).size
|
||||
Compile bytecode for arrayListOf(1, 2, 3).drop(1)
|
||||
|
||||
-1
@@ -7,4 +7,3 @@ capturedReceiverName.kt:22
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
OK
|
||||
|
||||
Reference in New Issue
Block a user