Serialize OptIn to builtins, improve tests

Skip SOURCE-retention annotations in builtins serialization tests,
because otherwise the source analysis result can't be equal to the
metadata deserialization result.

 #KT-53073 Fixed
This commit is contained in:
Alexander Udalov
2022-08-25 21:08:05 +02:00
parent 3f6742916a
commit 686cd82327
10 changed files with 277 additions and 11 deletions
@@ -2,7 +2,7 @@
// !LANGUAGE: +RangeUntilOperator
fun main(n: Int) {
for (i in 0..<n) {
for (i in 0<!OPT_IN_USAGE_ERROR!>..<<!>n) {
}
}
}