Ian Lynagh
9069218f1a
Kotlin 2: Accept changes in library-tests/controlflow/dominance
...
Mostly location changes; also removal of a generated block:
https://youtrack.jetbrains.com/issue/KT-63781/K2-Generated-blocks-appear-in-the-IR
2024-02-16 15:18:56 +00:00
Ian Lynagh
a5a6020f18
Kotlin 2: Accept changes in library-tests/controlflow/basic
...
Mostly location changes, but also some removal of generated blocks:
https://youtrack.jetbrains.com/issue/KT-63781/K2-Generated-blocks-appear-in-the-IR
2024-02-16 14:37:10 +00:00
Ian Lynagh
5039acba53
Kotlin 2: Accept changes in library-tests/stmts/PrintAst.expected
2024-02-16 14:17:04 +00:00
Ian Lynagh
e8b8b11434
Kotlin 2: Accept changes in library-tests/stmts/exprs.expected
2024-02-16 14:16:18 +00:00
Ian Lynagh
d6b96c5c23
Kotlin 2: Accept loc changes in library-tests/stmts/stmts.expected
2024-02-16 13:40:44 +00:00
Ian Lynagh
f6d6a04ba2
Kotlin 2: Accept location changes in library-tests/exprs
2024-02-14 17:01:21 +00:00
Ian Lynagh
4fcc1c26d4
Kotlin 2: Accept location changes in library-tests/exprs
2024-02-14 16:56:22 +00:00
Ian Lynagh
b95c69dc66
Kotlin 2: Accept location changes in library-tests/exprs
2024-02-14 16:54:20 +00:00
Ian Lynagh
2fe4c8c519
Kotlin 2: Accept some loc changes in library-tests/exprs/exprs
2024-02-14 16:47:46 +00:00
Ian Lynagh
14979585c9
Kotlin 2: Accept loc changes for library-tests/exprs/funcExprs.kt
2024-02-14 16:40:54 +00:00
Ian Lynagh
efe5184a74
Kotlin 2: Accept loc change for fn in library-tests/exprs/funcExprs.kt
2024-02-14 16:09:14 +00:00
Ian Lynagh
18a28e2623
Kotlin 2: Accept loc changes in library-tests/exprs for kFunctionInvoke.kt
2024-02-14 16:04:10 +00:00
Ian Lynagh
c11bfb3c83
Kotlin 2: Accept loc changes in library-tests/exprs for localFunctionCalls.kt
2024-02-14 16:03:23 +00:00
Ian Lynagh
1cc645b276
Kotlin 2: Accept location changes in library-tests/exprs for samConversion.kt
2024-02-14 15:49:44 +00:00
Ian Lynagh
9195be34a2
Kotlin 2: Accept location changes in library-tests/exprs/exprs for whenExpr.kt
2024-02-14 15:45:09 +00:00
Ian Lynagh
5d0b780c06
Kotlin 2: Accept some location improvements in library-tests/exprs/exprs.expected
2024-02-14 15:37:37 +00:00
Ian Lynagh
2cc2a90880
Kotlin 2: Accept some location changes in library-tests/exprs/exprs.expected
2024-02-14 15:37:35 +00:00
Ian Lynagh
ac001c37bd
Merge pull request #15561 from igfoo/igfoo/kt2-tests
...
Kotlin 2: Accept more test changes
2024-02-13 14:02:45 +00:00
Ian Lynagh
931b27f76c
Merge pull request #15573 from igfoo/igfoo/k2-more
...
Kotlin 2: Accept loc changes in library-tests/parameter-defaults/defaults.expected
2024-02-12 13:29:19 +00:00
Ian Lynagh
ab758d5f1e
Kotlin 2: Accept loc changes in library-tests/parameter-defaults/defaults.expected
2024-02-09 13:53:05 +00:00
Ian Lynagh
0547c877c2
Kotlin 2: Accept some location changes in library-tests/methods/exprs.expected
2024-02-09 13:34:56 +00:00
Ian Lynagh
be4413ffc8
Kotlin 2: Accept changes in library-tests/methods/parameters.expected
...
These mostly make things consistent with Kotlin 1.
2024-02-09 13:19:26 +00:00
Ian Lynagh
b836260b9a
Kotlin 2: Accept some test changes
...
I'm not sure these are an improvement, but they bring Kotlin 2 back in
line with Kotlin 1.
2024-02-09 13:15:02 +00:00
Ian Lynagh
1b91695934
Kotlin 2: Accept some location changes in library-tests/methods
2024-02-09 11:57:23 +00:00
Ian Lynagh
2852f09a1a
Kotlin: Accept test changes in library-tests/java-kotlin-collection-type-generic-methods
...
I'm not sure exactly what's going on here in general, but I've made a
ticket to remind us to come back and look at this whole area.
2024-02-08 17:44:38 +00:00
Ian Lynagh
f50dab3d93
Kotlin 2: Accept loc changes in library-tests/interface-delegate
2024-02-08 14:45:47 +00:00
Ian Lynagh
ef8e6c8805
Kotlin 2: Accept loc changes in library-tests/exprs/funcExprs.expected
2024-02-07 16:40:40 +00:00
Ian Lynagh
8a93133b81
Kotlin 2: Accept loc changes in library-tests/exprs/unaryOp.expected
2024-02-07 16:21:49 +00:00
Ian Lynagh
c314cc8b68
Kotlin 2: Accept some location changes in library-tests/exprs/binop.expected
2024-02-07 15:56:10 +00:00
Ian Lynagh
c731251e61
Kotlin 2: Remove an unused diagnostic matcher in library-tests/dataflow/func
2024-02-07 15:32:04 +00:00
Ian Lynagh
3d1f9a79fb
Kotlin 2: Accept location changes in test-kotlin2/library-tests/data-classes
2024-02-07 15:17:40 +00:00
Ian Lynagh
1c6108028b
Kotlin 2: Accept some location changes for arrays
2024-02-07 15:12:17 +00:00
Ian Lynagh
80163c5aac
Kotlin 2: Just accept the remaining comment differences for now
2024-01-10 16:39:47 +00:00
Ian Lynagh
ce4253c17f
Kotlin 2: Remove an expected diagnostic match
...
It is only generated when using the PSI comment extractor.
2024-01-10 16:39:04 +00:00
Ian Lynagh
20254fd71e
Kotlin: Accept a location change
2024-01-10 16:39:04 +00:00
Ian Lynagh
0bc1463ab0
Merge pull request #14941 from igfoo/igfoo/dff
...
Kotlin 2: Accept some location changes
2024-01-09 12:20:37 +00:00
Ian Lynagh
1aa1698f44
Kotlin: Accept some location changes in test-kotlin2/library-tests/vararg
2023-12-04 16:44:38 +00:00
Ian Lynagh
429c550151
Kotlin 2: Accept some location changes
2023-11-28 15:57:48 +00:00
Ian Lynagh
b33fcf3719
Kotlin: Accept some location changes in test-kotlin2/library-tests/stmts
2023-11-24 13:34:44 +00:00
Ian Lynagh
007f181ff5
K2: library-tests/properties: Accept loc changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
90ba3812fe
K2: library-tests/private-anonymous-types: Accept loc changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
e63ddd2071
K2: library-tests/operator-overloads: Accept changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
8f8f5f8826
K2: library-tests/methods-mixed-java-and-kotlin: Accept loc changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
584ba80ec7
K2: library-tests/literals: Accept changes
...
Some literals that were negative are now unaryMiunus applied to a
positive literal.
2023-11-17 14:07:15 +00:00
Ian Lynagh
4ad874a089
K2: library-tests/lateinit: Accept loc changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
a3ed965032
K2: library-tests/jvmstatic-annotation: Accept loc changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
2bd18ab41d
K2: library-tests/jvmoverloads_flow: Accept loc changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
713695f8f9
K2: library-tests/jvmoverloads-annotation: Accept loc changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
bb1d5d3c8c
K2: library-tests/java_and_kotlin_internal: Accept loc changes
2023-11-17 14:07:15 +00:00
Ian Lynagh
737e9d8844
K2: library-tests/java-lang-number-conversions: Accept changes
...
With
fun f(b: kotlin.Byte) {
val x = b.describeConstable()
}
and -language-version 1.9 we get
test.kt:2:15: warning: 'describeConstable(): Optional<DynamicConstantDesc<Byte!>!>!' is deprecated. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
and with 2.0
test.kt:2:15: error: unresolved reference 'describeConstable'.
2023-11-17 14:07:15 +00:00