fixup! feat(Visitors): implement type_mapping
This commit is contained in:
parent
b911cab58d
commit
86ebdac0d9
|
@ -54,14 +54,14 @@ local function check_function_returns(node: Node)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local record Type_Coercion
|
local record Type_Mapping
|
||||||
visit: function(node: Node)
|
visit: function(node: Node)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Type_Coercion.visit(node: Node)
|
function Type_Mapping.visit(node: Node)
|
||||||
check_node(node)
|
check_node(node)
|
||||||
check_function_parameters(node)
|
check_function_parameters(node)
|
||||||
check_function_returns(node)
|
check_function_returns(node)
|
||||||
end
|
end
|
||||||
|
|
||||||
return Type_Coercion
|
return Type_Mapping
|
||||||
|
|
Loading…
Reference in New Issue