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: 4315 Reporter: alexbaretta Assigned to: ertai Status: closed (set by @xavierleroy on 2010-04-29T12:26:20Z) Resolution: fixed Priority: urgent Severity: major Version: 3.10.0 Fixed in version: 3.10+dev Category: ~DO NOT USE (was: OCaml general)
Bug description
Class bar cannot be parsed until the constraint is removed. This change in camlp4 parsing breaks a lot of code out there.
Additional information
alex@alex:~/dev/src-http$ ocaml
Objective Caml version 3.10.0
Camlp4 Parsing version 3.10.0
class type foo = object end;;
class type foo = object end
class bar = object (self : 'a) constraint 'a = #foo end;;
Parse error: "end" expected after [class_structure] (in [class_expr])
class bar = object (self : 'a) end;;
class bar : object end
The text was updated successfully, but these errors were encountered:
Original bug ID: 4315
Reporter: alexbaretta
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:26:20Z)
Resolution: fixed
Priority: urgent
Severity: major
Version: 3.10.0
Fixed in version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
Class bar cannot be parsed until the constraint is removed. This change in camlp4 parsing breaks a lot of code out there.
Additional information
alex@alex:~/dev/src-http$ ocaml
Objective Caml version 3.10.0
class type foo = object end;;
class type foo = object end
class bar = object (self : 'a) constraint 'a = #foo end;;
Parse error: "end" expected after [class_structure] (in [class_expr])
class bar = object (self : 'a) end;;
class bar : object end
The text was updated successfully, but these errors were encountered: