Skip to content

Commit

Permalink
WIP repairing from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jroesch committed Jan 16, 2019
1 parent 6f273d6 commit 2a3cc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relay/pass/type_infer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class TypeInferencer : private ExprFunctor<Type(const Expr&)> {
if (inc_ty_node != nullptr) {
Type ret_type = IncompleteTypeNode::make(TypeVarNode::Kind::kType);
Type func_type = FuncTypeNode::make(arg_types, ret_type, {}, {});
Type unified = this->Unify(ftype, func_type, call->span);
Type unified = this->Unify(ftype, func_type, call);
fn_ty_node = unified.as<FuncTypeNode>();
}

Expand Down

0 comments on commit 2a3cc59

Please sign in to comment.