Skip to content

Commit

Permalink
Take out unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardDrummer committed Oct 16, 2024
1 parent e0db8fd commit 53284e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Source/DafnyCore/Backends/GoLang/GoCodeGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1384,9 +1384,6 @@ private ConcreteSyntaxTree CreateSubroutine(string name, List<TypeArgumentInstan
} else if (thisContext != null) {
w = w.NewBlock("", open: BlockStyle.Brace);
for (var i = 0; i < inParams.Count; i++) {
if (inParams[i].IsGhost) {
continue;
}
var p = (overriddenInParams ?? inParams)[i];
var instantiatedType = p.Type.Subst(thisContext.ParentFormalTypeParametersToActuals);
if (!p.IsGhost && !instantiatedType.Equals(p.Type)) {
Expand Down

0 comments on commit 53284e6

Please sign in to comment.