KT-1973 Made classes for objects declarations/expressions final.
#KT-1973 in progress
This commit is contained in:
@@ -124,8 +124,9 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
|
||||
isFinal = true;
|
||||
}
|
||||
}
|
||||
else if (myClass.getParent() instanceof JetClassObject) {
|
||||
isStatic = true;
|
||||
else {
|
||||
isStatic = myClass.getParent() instanceof JetClassObject;
|
||||
isFinal = true;
|
||||
}
|
||||
|
||||
int access = 0;
|
||||
|
||||
Reference in New Issue
Block a user