Skip to content

Commit

Permalink
regent: Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
magnatelee committed May 5, 2018
1 parent ed92820 commit d911bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language/src/regent/type_check.t
Original file line number Diff line number Diff line change
Expand Up @@ -3778,7 +3778,7 @@ function type_check.top_task(cx, node)

for _, fixup_node in ipairs(cx.fixup_nodes) do
if fixup_node:is(ast.typed.expr.Call) then
local fn_type = fixup_node.fn.value:gettype()
local fn_type = fixup_node.fn.value:get_type()
assert(fn_type.returntype ~= untyped)
fixup_node.expr_type = fn_type.returntype
else
Expand Down

0 comments on commit d911bdd

Please sign in to comment.