KT-2177: object literal as initializer value for class/object property — undefined variable generated.
Just test. #KT-2177 Fixed
This commit is contained in:
@@ -16,11 +16,8 @@
|
||||
|
||||
package org.jetbrains.k2js.test.semantics;
|
||||
|
||||
import org.jetbrains.k2js.config.EcmaVersion;
|
||||
import org.jetbrains.k2js.test.SingleFileTranslationTest;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
/**
|
||||
* @author Pavel Talanov
|
||||
*/
|
||||
@@ -48,7 +45,7 @@ public final class ObjectTest extends SingleFileTranslationTest {
|
||||
}
|
||||
|
||||
public void testObjectInObject() throws Exception {
|
||||
fooBoxTest(EnumSet.noneOf(EcmaVersion.class));
|
||||
fooBoxTest();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user