Fix a bug which caused incorrectly generated js when you call extension literal from extension function.
This commit is contained in:
@@ -27,7 +27,6 @@ import org.mozilla.javascript.JavaScriptException;
|
||||
*/
|
||||
public final class MiscTest extends AbstractExpressionTest {
|
||||
|
||||
|
||||
public MiscTest() {
|
||||
super("misc/");
|
||||
}
|
||||
@@ -122,4 +121,8 @@ public final class MiscTest extends AbstractExpressionTest {
|
||||
public void testElvis() throws Exception {
|
||||
checkFooBoxIsTrue("elvis.kt");
|
||||
}
|
||||
|
||||
public void testExtensionLiteralCalledInsideExtensionFunction() throws Exception {
|
||||
checkFooBoxIsTrue("extensionLiteralCalledInsideExtensionFunction.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user