Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Nov 27, 2018
1 parent 3f64e29 commit 0c14bb7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions WDL/Lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,7 @@ def expr(self, obj: WDL.Expr.Base) -> Any:
if isinstance(obj.ctx, WDL.Decl):
msg = "reference to {} precedes its declaration".format(obj.name)
elif isinstance(obj.ctx, WDL.Call):
msg = "reference to output of {} precedes the call".format(
".".join(obj.namespace)
)
msg = "reference to output of {} precedes the call".format(".".join(obj.namespace))
else:
assert False
self.add(getattr(obj, "parent"), msg, obj)
Expand Down

0 comments on commit 0c14bb7

Please sign in to comment.