Postpone ApproximateIntegerLiteralTypesInReceiverPosition feature till 1.7
^KT-38895
This commit is contained in:
committed by
teamcityserver
parent
6a8f36e313
commit
8117cd4c24
@@ -20,7 +20,7 @@ fun first(arg: Int) = when (arg) {
|
||||
<!DUPLICATE_LABEL_IN_WHEN!>1<!> -> 6
|
||||
<!DUPLICATE_LABEL_IN_WHEN!>2<!> -> 7
|
||||
// Error should be here: see KT-11971
|
||||
<!DUPLICATE_LABEL_IN_WHEN!>four<!> -> 8
|
||||
four -> 8
|
||||
else -> 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user