Skip to content

Commit 71e284e

Browse files
committed
fix :enum warnings
1 parent f762cf2 commit 71e284e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/feathers/formatters/CurrencyFormatterAlignSymbol.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ package feathers.formatters;
2525
2626
@see `feathers.formatters.CurrencyFormatter`
2727
**/
28-
@:enum abstract CurrencyFormatterAlignSymbol(String) from String to String {
28+
#if haxe4 enum #else @:enum #end abstract CurrencyFormatterAlignSymbol(String) from String to String {
2929
//--------------------------------------------------------------------------
3030
//
3131
// Class constants

src/feathers/formatters/NumberBaseRoundType.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ package feathers.formatters;
2525
@see `feathers.formatters.NumberFormatter`
2626
@see `feathers.formatters.NumberBase`
2727
**/
28-
@:enum abstract NumberBaseRoundType(String) from String to String {
28+
#if haxe4 enum #else @:enum #end abstract NumberBaseRoundType(String) from String to String {
2929
//--------------------------------------------------------------------------
3030
//
3131
// Class constants

0 commit comments

Comments
 (0)