Do not execute tests for -ProhibitAssigningSingleElementsToVarargsInNamedForm.

These assignments is prohibited, compiler issues an error.
This commit is contained in:
Pavel Punegov
2020-04-20 14:55:38 +03:00
committed by Pavel Punegov
parent da4d943afb
commit f00cbc22c2
@@ -533,7 +533,8 @@ fun runTest() {
def settings = languageSettings.first()
if (settings.contains('-ProperIeee754Comparisons') || // K/N supports only proper IEEE754 comparisons
settings.contains('-ReleaseCoroutines') || // only release coroutines
settings.contains('-DataClassInheritance')) { // old behavior is not supported
settings.contains('-DataClassInheritance') || // old behavior is not supported
settings.contains('-ProhibitAssigningSingleElementsToVarargsInNamedForm')) { // Prohibit these assignments
return false
}
}