Postpone ApproximateIntegerLiteralTypesInReceiverPosition feature till 1.7

^KT-38895
This commit is contained in:
Dmitriy Novozhilov
2021-09-02 11:12:05 +03:00
committed by teamcityserver
parent 6a8f36e313
commit 8117cd4c24
9 changed files with 30 additions and 29 deletions
@@ -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
}