Skip to content

Commit

Permalink
Fixed rewriting callers in other components in the remove parameter r…
Browse files Browse the repository at this point in the history
…efactoring.
  • Loading branch information
MDoerner committed Mar 6, 2018
1 parent 004efb4 commit 1e10cd0
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -160,6 +160,7 @@ private void AdjustReferences(IEnumerable<IdentifierReference> references, Decla
private void RemoveCallArguments(VBAParser.ArgumentListContext argList, QualifiedModuleName module)
{
var rewriter = _model.State.GetRewriter(module);
_rewriters.Add(rewriter);

var args = argList.children.OfType<VBAParser.ArgumentContext>().ToList();
for (var i = 0; i < _model.Parameters.Count; i++)
Expand Down

0 comments on commit 1e10cd0

Please sign in to comment.