From 735f1ff523d6caa2baaaa1125c8db06e894092dc Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Thu, 21 Apr 2016 15:24:49 -0700 Subject: [PATCH] Replace panics with warnings for unimplemented property setters and copiers. --- ports/geckolib/properties.mako.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/geckolib/properties.mako.rs b/ports/geckolib/properties.mako.rs index 4f2311135d5..f3827bcc6c1 100644 --- a/ports/geckolib/properties.mako.rs +++ b/ports/geckolib/properties.mako.rs @@ -276,10 +276,10 @@ impl ${style_struct.trait_name} for ${style_struct.gecko_struct_name} { */ % for longhand in stub_longhands: fn set_${longhand.ident}(&mut self, _: longhands::${longhand.ident}::computed_value::T) { - unimplemented!() + println!("stylo: Unimplemented property setter: ${longhand.name}"); } fn copy_${longhand.ident}_from(&mut self, _: &Self) { - unimplemented!() + println!("stylo: Unimplemented property setter: ${longhand.name}"); } % if longhand.need_clone: fn clone_${longhand.ident}(&self) -> longhands::${longhand.ident}::computed_value::T {