Skip to content

Commit

Permalink
UPD moved AbstractEnumFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Sep 9, 2024
1 parent 3ead262 commit ac140ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dn.data;
package dn;

#if macro
import haxe.macro.Expr;
Expand Down Expand Up @@ -85,7 +85,7 @@ class AbstractEnumFlags<T:Int> {

// Build Map declaration as `[ 0=>"ValueName", 1=>"ValueName" ]`
var flagNamesExpr : Expr = { pos:Context.currentPos(), expr: EArrayDecl(mapInitExprs) }
return macro @:privateAccess new dn.data.AbstractEnumFlags( $flagNamesExpr );
return macro @:privateAccess new dn.AbstractEnumFlags( $flagNamesExpr );
}

}

0 comments on commit ac140ca

Please sign in to comment.