diff --git a/src/feathers/macros/StyleContextMacro.hx b/src/feathers/macros/StyleContextMacro.hx index 9b50c4bf..84ed554f 100644 --- a/src/feathers/macros/StyleContextMacro.hx +++ b/src/feathers/macros/StyleContextMacro.hx @@ -13,6 +13,7 @@ import haxe.macro.Context; import haxe.macro.Expr.Access; import haxe.macro.Expr.Field; import haxe.macro.Expr.Function; +import haxe.macro.Expr.FieldType; /** Add `@:styleContext` metadata to a Feathers UI component to make it diff --git a/src/feathers/macros/StyleMacro.hx b/src/feathers/macros/StyleMacro.hx index acdc7265..d5815395 100644 --- a/src/feathers/macros/StyleMacro.hx +++ b/src/feathers/macros/StyleMacro.hx @@ -15,6 +15,7 @@ import haxe.macro.Expr.Error; import haxe.macro.Expr.Field; import haxe.macro.Expr.Function; import haxe.macro.Expr.MetadataEntry; +import haxe.macro.Expr.FieldType; /** Add `@:style` metadata to a public variable to convert it into a "style"