فهرست منبع

follow cf_type

Simon Krajewski 12 سال پیش
والد
کامیت
2308371d0f
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      matcher.ml

+ 1 - 0
matcher.ml

@@ -735,6 +735,7 @@ let rec all_ctors mctx t =
 		h,false
 	| TAbstract({a_impl = Some c} as a,pl) when Meta.has Meta.FakeEnum a.a_meta ->
 		List.iter (fun cf ->
+			ignore(follow cf.cf_type);
 			if not (Meta.has Meta.Impl cf.cf_meta) then match cf.cf_expr with
 				| None -> ()
 				| Some {eexpr = TConst c | TCast ({eexpr = TConst c},None)} -> h := PMap.add (CConst c) cf.cf_pos !h