Disable errors in mod/rem tests that depend on language feature

Otherwise these tests will fail with LV=1.3
This commit is contained in:
Mikhail Zarechenskiy
2018-07-04 19:05:48 +03:00
parent 2939d9c8c6
commit 5869274ff1
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
// "Rename to 'rem'" "true"
// DISABLE-ERRORS
object A
operator<caret> fun A.mod(x: Int) {}
@@ -1,4 +1,5 @@
// "Rename to 'rem'" "true"
// DISABLE-ERRORS
object A
operator<caret> fun A.rem(x: Int) {}
+1
View File
@@ -1,4 +1,5 @@
// "Rename to 'rem'" "true"
// DISABLE-ERRORS
object Rem {
operator<caret> fun mod(x: Int) {}
@@ -1,4 +1,5 @@
// "Rename to 'rem'" "true"
// DISABLE-ERRORS
object Rem {
operator fun rem(x: Int) {}
@@ -1,4 +1,5 @@
// "Rename to 'remAssign'" "true"
// DISABLE-ERRORS
object Rem {
operator fun mod(x: Int) {}
@@ -1,4 +1,5 @@
// "Rename to 'remAssign'" "true"
// DISABLE-ERRORS
object Rem {
operator fun mod(x: Int) {}