Using invokeFunction() instead of invokeFunctionWithNoParams() when generating in-expressions

This commit is contained in:
Andrey Breslav
2012-08-23 14:50:22 +04:00
parent 9ca49b50b8
commit b1ba3e1260
3 changed files with 24 additions and 22 deletions
@@ -80,6 +80,10 @@ public class PatternMatchingTest extends CodegenTestCase {
blackBoxFile("patternMatching/range.jet");
}
public void testLongInRange() throws Exception {
blackBoxFile("patternMatching/longInRange.jet");
}
public void testWhenArgumentIsEvaluatedOnlyOnce() throws Exception {
blackBoxFile("patternMatching/whenArgumentIsEvaluatedOnlyOnce.kt");
}