diff --git a/rox_compiler/src/compile.rs b/rox_compiler/src/compile.rs index 9b3a666..190ed6e 100644 --- a/rox_compiler/src/compile.rs +++ b/rox_compiler/src/compile.rs @@ -186,6 +186,7 @@ struct ScriptWithOverrides{ source:String, } +#[derive(Debug)] pub enum ScriptWithOverridesError{ UnimplementedProperty(String), } @@ -232,6 +233,7 @@ struct CompileNode{ class:CompileClass, } +#[derive(Debug)] enum CompileNodeError{ IO(std::io::Error), ScriptWithOverrides(ScriptWithOverridesError), @@ -411,6 +413,7 @@ pub struct CompileConfig{ style:Option