Skip to content

Commit

Permalink
corrections in class impl
Browse files Browse the repository at this point in the history
  • Loading branch information
uzdun committed Jun 15, 2018
1 parent 6821011 commit 67599ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/codeableModels/impl/CClassImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ protected void cleanupClassifier() throws CException {
if (getMetaclass() != null) {
((CMetaclassImpl) getMetaclass()).removeClassInstance(this);
setMetaclass(null);
} else {
throw new CException("trying to delete class '" + this.getName() + "' that has been deleted before");
}
}

Expand Down

0 comments on commit 67599ae

Please sign in to comment.