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
@@ -1,4 +1,5 @@
// FIR_IDENTICAL
// LANGUAGE: +ApproximateIntegerLiteralTypesInReceiverPosition
val p1: Byte = <!TYPE_MISMATCH!>(1 + 2) * 2<!>
val p2: Short = <!TYPE_MISMATCH!>(1 + 2) * 2<!>
val p3: Int = (1 + 2) * 2