Skip to content

Commit

Permalink
relax unnecessary static typecheck of task runtime expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Dec 31, 2021
1 parent 307b9d6 commit 98c9cb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions WDL/Tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,10 @@ def typecheck(
errors.try1(
lambda runtime_expr=runtime_expr: runtime_expr.infer_type(
type_env, stdlib, check_quant=check_quant, struct_types=struct_types
).typecheck(Type.String())
)
)
) # .typecheck()
# (At this stage we don't care about the overall expression type, just that it
# typechecks internally.)
# Add output declarations to type environment
for decl in self.outputs:
type_env2 = errors.try1(
Expand Down

0 comments on commit 98c9cb3

Please sign in to comment.