This commit is contained in:
2026-05-07 18:15:48 +02:00
parent 2ccec652da
commit 27c6eb74c3
5 changed files with 10 additions and 15 deletions
+2
View File
@@ -259,6 +259,8 @@ impl From<pest::iterators::Pair<'_, Rule>> for TopLevelKind {
methods: inner.into_iter().map(FunctionDecl::from).collect(),
},
Rule::mod_package => TopLevelKind::Mod(inner.next().unwrap().as_str().to_string()),
_ => unimplemented!("{rule:#?}"),
}
}