|
@@ -1252,7 +1252,7 @@ let create_property (ctx,cctx,fctx) c f (get,set,t,eo) p =
|
|
|
with Not_found ->
|
|
|
()
|
|
|
in
|
|
|
- let delay_check = if c.cl_interface then delay_late ctx PBuildClass else delay ctx PTypeField in
|
|
|
+ let delay_check = delay ctx PConnectField in
|
|
|
let get = (match get with
|
|
|
| "null",_ -> AccNo
|
|
|
| "dynamic",_ -> AccCall
|
|
@@ -1260,7 +1260,7 @@ let create_property (ctx,cctx,fctx) c f (get,set,t,eo) p =
|
|
|
| "default",_ -> AccNormal
|
|
|
| "get",pget ->
|
|
|
let get = "get_" ^ name in
|
|
|
- if fctx.is_display_field && DisplayPosition.display_position#enclosed_in pget then delay ctx PTypeField (fun () -> display_accessor get pget);
|
|
|
+ if fctx.is_display_field && DisplayPosition.display_position#enclosed_in pget then delay ctx PConnectField (fun () -> display_accessor get pget);
|
|
|
if not cctx.is_lib then delay_check (fun() -> check_method get t_get);
|
|
|
AccCall
|
|
|
| _,pget ->
|
|
@@ -1279,7 +1279,7 @@ let create_property (ctx,cctx,fctx) c f (get,set,t,eo) p =
|
|
|
| "default",_ -> AccNormal
|
|
|
| "set",pset ->
|
|
|
let set = "set_" ^ name in
|
|
|
- if fctx.is_display_field && DisplayPosition.display_position#enclosed_in pset then delay ctx PTypeField (fun () -> display_accessor set pset);
|
|
|
+ if fctx.is_display_field && DisplayPosition.display_position#enclosed_in pset then delay ctx PConnectField (fun () -> display_accessor set pset);
|
|
|
if not cctx.is_lib then delay_check (fun() -> check_method set t_set);
|
|
|
AccCall
|
|
|
| _,pset ->
|