Support mod and floorDiv extensions in constant evaluator

Ignore evaluation tests for floorDiv and mod with FIR for now.
This commit is contained in:
Ilya Gorbunov
2021-02-21 06:05:03 +03:00
parent 58e6f775bb
commit 9cc8f44390
14 changed files with 206 additions and 18 deletions
@@ -11749,6 +11749,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/evaluate/divide.kt");
}
@TestMetadata("floorDiv.kt")
public void testFloorDiv() throws Exception {
runTest("compiler/testData/codegen/box/evaluate/floorDiv.kt");
}
@TestMetadata("intrinsics.kt")
public void testIntrinsics() throws Exception {
runTest("compiler/testData/codegen/box/evaluate/intrinsics.kt");
@@ -11779,6 +11784,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/evaluate/minus.kt");
}
@TestMetadata("mod.kt")
public void testMod() throws Exception {
runTest("compiler/testData/codegen/box/evaluate/mod.kt");
}
@TestMetadata("multiply.kt")
public void testMultiply() throws Exception {
runTest("compiler/testData/codegen/box/evaluate/multiply.kt");