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;
|
isFinal = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (myClass.getParent() instanceof JetClassObject) {
|
else {
|
||||||
isStatic = true;
|
isStatic = myClass.getParent() instanceof JetClassObject;
|
||||||
|
isFinal = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int access = 0;
|
int access = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user