diff --git a/src/awesomewm.d.tl/visitors/type_mapping.tl b/src/awesomewm.d.tl/visitors/type_mapping.tl index c54bf8a..b3d8933 100644 --- a/src/awesomewm.d.tl/visitors/type_mapping.tl +++ b/src/awesomewm.d.tl/visitors/type_mapping.tl @@ -54,14 +54,14 @@ local function check_function_returns(node: Node) end end -local record Type_Coercion +local record Type_Mapping visit: function(node: Node) end -function Type_Coercion.visit(node: Node) +function Type_Mapping.visit(node: Node) check_node(node) check_function_parameters(node) check_function_returns(node) end -return Type_Coercion +return Type_Mapping