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: 5081 Reporter:@alainfrisch Assigned to:@garrigue Status: closed (set by @garrigue on 2010-06-21T11:49:07Z) Resolution: fixed Priority: normal Severity: crash Fixed in version: 3.12.0+dev Category: ~DO NOT USE (was: OCaml general)
Bug description
The following produces a segfault:
module S : sig
class generic_component:
object
method s: string
end
end = struct
class generic_component () =
object
method s = "AAA"
end
end
let () =
print_endline ((new S.generic_component) # s)
It seems that only object signatures are checked, not class parameters. I suspect this has been introduced by commit 10541 (not checked).
The text was updated successfully, but these errors were encountered:
Original bug ID: 5081
Reporter: @alainfrisch
Assigned to: @garrigue
Status: closed (set by @garrigue on 2010-06-21T11:49:07Z)
Resolution: fixed
Priority: normal
Severity: crash
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
The following produces a segfault:
module S : sig
class generic_component:
object
method s: string
end
end = struct
class generic_component () =
object
method s = "AAA"
end
end
let () =
print_endline ((new S.generic_component) # s)
It seems that only object signatures are checked, not class parameters. I suspect this has been introduced by commit 10541 (not checked).
The text was updated successfully, but these errors were encountered: