From 3841e793e7badafec185c080521139e60a6fc359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Y=C4=B1ld=C4=B1r=C4=B1m?= Date: Tue, 2 Jul 2024 21:09:00 +0300 Subject: [PATCH] Fix haxe 5 build --- src/feathers/macros/StyleContextMacro.hx | 1 + src/feathers/macros/StyleMacro.hx | 1 + 2 files changed, 2 insertions(+) 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"