Skip to content

Commit

Permalink
Merge branch 'fix-wild-clone' into 'dev'
Browse files Browse the repository at this point in the history
SymTypeOfWildcard remove legacy deepClone

See merge request monticore/monticore!915
  • Loading branch information
SE-FDr committed Dec 21, 2023
2 parents 0f5f4e7 + 31e8525 commit cfafd19
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,6 @@ else if (isUpper()) {
}
}

@Override
public SymTypeOfWildcard deepClone() {
SymTypeOfWildcard clone;
if (hasBound()) {
clone = new SymTypeOfWildcard(getBound().deepClone(), isUpper());
}
else {
clone = new SymTypeOfWildcard(null, false);
}
clone.typeSymbol = this.typeSymbol;
clone.functionList = this.functionList;
return clone;
}

@Override
public boolean isValidType() {
return false;
Expand Down

0 comments on commit cfafd19

Please sign in to comment.