소스 검색

[java/cs] fix overload + inheritance + cf_params mismatch

Cauê Waneck 10 년 전
부모
커밋
a93451ee12
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gencommon.ml

+ 1 - 1
gencommon.ml

@@ -6241,7 +6241,7 @@ struct
 							(cf, actual_t, true), true
 					in
 					if not (is_static || error) then match find_first_declared_field gen cl ~exact_field:{ cf with cf_type = actual_t } cf.cf_name with
-					| Some(_,actual_t,_,_,declared_cl,tl,tlch) ->
+					| Some(cf,actual_t,_,_,declared_cl,tl,tlch) ->
 						let rec is_super e = match e.eexpr with
 							| TConst TSuper -> true
 							| TParenthesis p | TMeta(_,p) -> is_super p