Use private imports in generated code

This commit is contained in:
Arthur Baars
2020-12-07 15:14:34 +01:00
parent ed3b102ecc
commit 044d14c8b4
4 changed files with 5 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ pub enum TopLevel<'a> {
impl<'a> fmt::Display for TopLevel<'a> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self {
TopLevel::Import(x) => write!(f, "import {}", x),
TopLevel::Import(x) => write!(f, "private import {}", x),
TopLevel::Class(cls) => write!(f, "{}", cls),
}
}