COMMA_IN_WHEN_CONDITION_WITHOUT_ARGUMENT is an ERROR now.
Migrated code.
Updated test data in IDE tests.
Dropped whenWithRangeTestsAndMultiConditions.kt:
"Introduce subject" is not applicable to 'when' with ||-ed conditions.
Original commit: 0fe74a8b43
This commit is contained in:
+2
-2
@@ -102,8 +102,8 @@ public abstract class AbstractProtoComparisonTest : UsefulTestCase() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
val diff = when {
|
val diff = when {
|
||||||
newClassHeader.isCompatibleClassKind(),
|
newClassHeader.isCompatibleClassKind() ||
|
||||||
newClassHeader.isCompatibleFileFacadeKind(),
|
newClassHeader.isCompatibleFileFacadeKind() ||
|
||||||
newClassHeader.isCompatibleMultifileClassPartKind() ->
|
newClassHeader.isCompatibleMultifileClassPartKind() ->
|
||||||
difference(oldProto, newProto)
|
difference(oldProto, newProto)
|
||||||
else -> {
|
else -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user