-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIR] add compiler crash tests for KT-29222
Result of binaryOpStackOverflow.kt test depends on JVM settings and OS.
- Loading branch information
Showing
14 changed files
with
385 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...vel/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFirTestdataTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...ic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFirTestDataTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
.../analysis-tests/testData/resolve/expresssions/operators/binaryOpIntStackOverflow.fir.fail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
java.lang.StackOverflowError | ||
at com.intellij.lang.impl.PsiBuilderImpl$StartMarker.toString(PsiBuilderImpl.java:430) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.AbstractLightTreeRawFirBuilder.getAsText(AbstractLightTreeRawFirBuilder.kt:43) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.AbstractLightTreeRawFirBuilder.getAsText(AbstractLightTreeRawFirBuilder.kt:26) | ||
at org.jetbrains.kotlin.fir.builder.AbstractRawFirBuilder.generateConstantExpressionByLiteral(AbstractRawFirBuilder.kt:393) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertConstantExpression(LightTreeRawFirExpressionBuilder.kt:760) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertExpression(LightTreeRawFirExpressionBuilder.kt:123) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertBinaryExpression(LightTreeRawFirExpressionBuilder.kt:1682) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertExpression(LightTreeRawFirExpressionBuilder.kt:105) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertBinaryExpression(LightTreeRawFirExpressionBuilder.kt:1708) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertExpression(LightTreeRawFirExpressionBuilder.kt:105) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertBinaryExpression(LightTreeRawFirExpressionBuilder.kt:1708) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertExpression(LightTreeRawFirExpressionBuilder.kt:105) | ||
at org.jetbrains.kotlin.fir.lightTree.converter.LightTreeRawFirExpressionBuilder.convertBinaryExpression(LightTreeRawFirExpressionBuilder.kt:1708) |
2 changes: 2 additions & 0 deletions
2
...r/analysis-tests/testData/resolve/expresssions/operators/binaryOpIntStackOverflow.fir.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cFILE: binaryOpIntStackOverflow.kt | ||
public final fun stackOverflow(): R|kotlin/Unit| { LAZY_BLOCK } |
Oops, something went wrong.