diff --git a/vlib/v/ast/str.v b/vlib/v/ast/str.v index 36badc0505..e49f0d69fe 100644 --- a/vlib/v/ast/str.v +++ b/vlib/v/ast/str.v @@ -347,6 +347,9 @@ pub fn (node Stmt) str() string { EnumDecl { return 'enum $node.name { $node.fields.len fields }' } + Module { + return 'module $node.name' + } StructDecl { return 'struct $node.name { $node.fields.len fields }' }