Generated field for classObject is now final
EA-38323 Fixed - Illegal field modifiers in class
This commit is contained in:
@@ -217,6 +217,11 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
blackBoxFile("classes/classObject.jet");
|
||||
}
|
||||
|
||||
public void testClassObjectInTrait() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("classes/classObjectInTrait.jet");
|
||||
}
|
||||
|
||||
public void testClassObjectMethod() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
// todo to be implemented after removal of type info
|
||||
|
||||
Reference in New Issue
Block a user