Browse Source

follow cf_type

Simon Krajewski 12 years ago
parent
commit
2308371d0f
1 changed files with 1 additions and 0 deletions
  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