diff --git a/src/feathers/macros/StyleMacro.hx b/src/feathers/macros/StyleMacro.hx index c817647b..16bb2e6e 100644 --- a/src/feathers/macros/StyleMacro.hx +++ b/src/feathers/macros/StyleMacro.hx @@ -141,6 +141,16 @@ class StyleMacro { kind: FieldType.FFun(clearFunction), pos: field.pos, meta: [ + { + name: ":haxe.warning", + params: [ + { + expr: EConst(CString("-WDeprecated")), + pos: field.pos + } + ], + pos: field.pos + }, { name: ":noCompletion", pos: field.pos