2
0
Эх сурвалжийг харах

allow `null` for kind in `EFunction(kind, fn)`

Aleksandr Kuzmenko 6 жил өмнө
parent
commit
1ea1f1f322

+ 1 - 1
std/haxe/macro/Expr.hx

@@ -470,7 +470,7 @@ enum ExprDef {
 	/**
 		A function declaration.
 	**/
-	EFunction(kind:FunctionKind, f:Function);
+	EFunction(kind:Null<FunctionKind>, f:Function);
 
 	/**
 		A block of expressions `{exprs}`.