|
@@ -498,6 +498,8 @@ and gen_expr ctx e =
|
|
|
| TEnumParameter (x,_,i) ->
|
|
|
gen_value ctx x;
|
|
|
print ctx "[%i]" (i + 2)
|
|
|
+ | TField (_, FStatic ({cl_path = [],""},f)) ->
|
|
|
+ spr ctx f.cf_name;
|
|
|
| TField (x, (FInstance(_,_,f) | FStatic(_,f) | FAnon(f))) when Meta.has Meta.SelfCall f.cf_meta ->
|
|
|
gen_value ctx x;
|
|
|
| TField (x,f) ->
|