Răsfoiți Sursa

Lua : FDynamic needs colon access for methods

Justin Donaldson 10 ani în urmă
părinte
comite
316a60cc51
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      genlua.ml

+ 1 - 1
genlua.ml

@@ -375,7 +375,7 @@ let rec gen_call ctx e el in_value =
 		spr ctx ") end )(";
 		spr ctx ") end )(";
 		gen_value ctx e;
 		gen_value ctx e;
 		spr ctx ")";
 		spr ctx ")";
-	| TField (e, ((FInstance _ | FAnon _) as ef)), el ->
+	| TField (e, ((FInstance _ | FAnon _ | FDynamic _) as ef)), el ->
 		gen_value ctx e;
 		gen_value ctx e;
 		spr ctx ":";
 		spr ctx ":";
 		print ctx "%s" (field_name ef);
 		print ctx "%s" (field_name ef);