From 982d10d1271e0a19dc2f530a970dfcc96e3ebb0f Mon Sep 17 00:00:00 2001 From: Ivan Kylchik Date: Wed, 27 Oct 2021 23:39:53 +0300 Subject: [PATCH] [TESTS] Add IGNORE_ERROR directive to boxError tests This is needed because now these tests use new test infrastructure and here, after frontend facade, there is error check. We need to disable such check in these tests. --- compiler/testData/codegen/boxError/semantic/castToErrorType.kt | 1 + compiler/testData/codegen/boxError/semantic/catchErrorType.kt | 1 + compiler/testData/codegen/boxError/semantic/evaluationOrder.kt | 1 + .../testData/codegen/boxError/semantic/mismatchTypeParameters.kt | 1 + compiler/testData/codegen/boxError/semantic/missedBody.kt | 1 + compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt | 1 + .../codegen/boxError/semantic/reifiedWithWrongArguments.kt | 1 + compiler/testData/codegen/boxError/semantic/typeMismatch.kt | 1 + .../testData/codegen/boxError/semantic/unmatchedArguments.kt | 1 + .../codegen/boxError/semantic/unresolvedFunctionReferece.kt | 1 + compiler/testData/codegen/boxError/syntax/arrowReference.kt | 1 + compiler/testData/codegen/boxError/syntax/evaluationOrder.kt | 1 + compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt | 1 + compiler/testData/codegen/boxError/syntax/missedArgument.kt | 1 + 14 files changed, 14 insertions(+) diff --git a/compiler/testData/codegen/boxError/semantic/castToErrorType.kt b/compiler/testData/codegen/boxError/semantic/castToErrorType.kt index cc79322558e..f079006940a 100644 --- a/compiler/testData/codegen/boxError/semantic/castToErrorType.kt +++ b/compiler/testData/codegen/boxError/semantic/castToErrorType.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/catchErrorType.kt b/compiler/testData/codegen/boxError/semantic/catchErrorType.kt index 882f400fabf..2fc284e0668 100644 --- a/compiler/testData/codegen/boxError/semantic/catchErrorType.kt +++ b/compiler/testData/codegen/boxError/semantic/catchErrorType.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/evaluationOrder.kt b/compiler/testData/codegen/boxError/semantic/evaluationOrder.kt index f1597728b1b..68ede962dd8 100644 --- a/compiler/testData/codegen/boxError/semantic/evaluationOrder.kt +++ b/compiler/testData/codegen/boxError/semantic/evaluationOrder.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt b/compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt index b1d693f24d6..013a67991d8 100644 --- a/compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt +++ b/compiler/testData/codegen/boxError/semantic/mismatchTypeParameters.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/missedBody.kt b/compiler/testData/codegen/boxError/semantic/missedBody.kt index a1f63fc41f6..1572e7dac24 100644 --- a/compiler/testData/codegen/boxError/semantic/missedBody.kt +++ b/compiler/testData/codegen/boxError/semantic/missedBody.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt b/compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt index 611e9e978da..eb7d410c652 100644 --- a/compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt +++ b/compiler/testData/codegen/boxError/semantic/reifiedNonInline.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt b/compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt index abd2ad617d6..253ad398278 100644 --- a/compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt +++ b/compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/typeMismatch.kt b/compiler/testData/codegen/boxError/semantic/typeMismatch.kt index ae960847e19..72665e4db28 100644 --- a/compiler/testData/codegen/boxError/semantic/typeMismatch.kt +++ b/compiler/testData/codegen/boxError/semantic/typeMismatch.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt b/compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt index 8cc282dcfcc..5244c7073a1 100644 --- a/compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt +++ b/compiler/testData/codegen/boxError/semantic/unmatchedArguments.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt b/compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt index 2847acb4907..1d0a6ce90a9 100644 --- a/compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt +++ b/compiler/testData/codegen/boxError/semantic/unresolvedFunctionReferece.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SEMANTIC // MODULE: lib diff --git a/compiler/testData/codegen/boxError/syntax/arrowReference.kt b/compiler/testData/codegen/boxError/syntax/arrowReference.kt index 67776faac79..27c6c48aee7 100644 --- a/compiler/testData/codegen/boxError/syntax/arrowReference.kt +++ b/compiler/testData/codegen/boxError/syntax/arrowReference.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SYNTAX // MODULE: lib diff --git a/compiler/testData/codegen/boxError/syntax/evaluationOrder.kt b/compiler/testData/codegen/boxError/syntax/evaluationOrder.kt index 8a9e6758348..587a09ed912 100644 --- a/compiler/testData/codegen/boxError/syntax/evaluationOrder.kt +++ b/compiler/testData/codegen/boxError/syntax/evaluationOrder.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SYNTAX // MODULE: lib diff --git a/compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt b/compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt index c9b7a2d25e4..aabf0bd213b 100644 --- a/compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt +++ b/compiler/testData/codegen/boxError/syntax/incorectLexicalName.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SYNTAX // MODULE: lib diff --git a/compiler/testData/codegen/boxError/syntax/missedArgument.kt b/compiler/testData/codegen/boxError/syntax/missedArgument.kt index d8047f8b702..bb5f8297c96 100644 --- a/compiler/testData/codegen/boxError/syntax/missedArgument.kt +++ b/compiler/testData/codegen/boxError/syntax/missedArgument.kt @@ -1,3 +1,4 @@ +// IGNORE_ERRORS // ERROR_POLICY: SYNTAX // MODULE: lib