Skip to content

Commit

Permalink
Minor variable rename for clarity. (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riva Nathans authored Dec 2, 2022
1 parent 202dc17 commit 1565d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/wdlTools/syntax/ASTWalker.scala
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ class ASTWalker(followImports: Boolean = false) extends ASTVisitor {
visitImportDoc(createContext[ImportDoc, Document](imp, ctx))
}

ctx.element.elements.collect { case struct: TypeStruct => struct }.foreach { imp =>
visitStruct(createContext[TypeStruct, Document](imp, ctx))
ctx.element.elements.collect { case struct: TypeStruct => struct }.foreach { struct =>
visitStruct(createContext[TypeStruct, Document](struct, ctx))
}

if (ctx.element.workflow.isDefined) {
Expand Down

0 comments on commit 1565d46

Please sign in to comment.