Optional constructor

This commit is contained in:
2026-06-12 18:25:26 +02:00
parent d4992e76fc
commit ddcffaea92
4 changed files with 28 additions and 20 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ pub enum TopLevelKind {
generics: GenericsDecl,
inherits: Option<ExprPath>,
fields: Vec<Spanned<FieldDeclStmt>>,
constructor: Spanned<ClassConstructor>,
constructor: Option<Spanned<ClassConstructor>>,
items: Vec<ClassItem>,
},
}