You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6004 Reporter:@alainfrisch Assigned to:@garrigue Status: closed (set by @xavierleroy on 2015-12-11T18:18:50Z) Resolution: fixed Priority: normal Severity: minor Fixed in version: 4.01.0+dev Category: typing Monitored by:@gasche
Bug description
If we compile the following with -principal:
======================================================================
type t = A
type s = A
class f (_ : t) = object end
let _ = new f A (* ok *)
class g = object
inherit f A (* -> this type-based constructor disambiguation is not principal. *)
end
we get a warning 18, but only on the second occurrence of "f A". Is it normal?
The text was updated successfully, but these errors were encountered:
Original bug ID: 6004
Reporter: @alainfrisch
Assigned to: @garrigue
Status: closed (set by @xavierleroy on 2015-12-11T18:18:50Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 4.01.0+dev
Category: typing
Monitored by: @gasche
Bug description
If we compile the following with -principal:
======================================================================
type t = A
type s = A
class f (_ : t) = object end
let _ = new f A (* ok *)
class g = object
inherit f A (* -> this type-based constructor disambiguation is not principal. *)
end
we get a warning 18, but only on the second occurrence of "f A". Is it normal?
The text was updated successfully, but these errors were encountered: