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

[cs] Call real_type for the underlying Pointer type as well

Cauê Waneck 11 жил өмнө
parent
commit
d35d8c438c
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      gencommon.ml

+ 1 - 1
gencommon.ml

@@ -1350,7 +1350,7 @@ let field_access gen (t:t) (field:string) : (tfield_access) =
 	(* let pointers to values be accessed as the underlying values *)
 	let t = match gen.greal_type t with
 		| TAbstract({ a_path = ["cs"],"Pointer" },[t]) ->
-			t
+			gen.greal_type t
 		| _ -> t
 	in