Fixed formatting (missing comma)
This commit is contained in:
parent
892cf8169e
commit
61e80c869e
|
@ -17,8 +17,8 @@ impl<'a> Visitor<'a> for DefaultValuesOfCorrectType {
|
|||
if let BaseType::Named(vtype_name) = &variable_definition.node.var_type.node.base {
|
||||
if !ctx.registry.types.contains_key(vtype_name.as_str()) {
|
||||
ctx.report_error(
|
||||
vec![variable_definition.pos],
|
||||
format!(r#"Unknown type "{}""#, vtype_name)
|
||||
vec![variable_definition.pos],
|
||||
format!(r#"Unknown type "{}""#, vtype_name),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user