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: 6212 Reporter: bnoordhuis Assigned to:@bobzhang Status: closed (set by @diml on 2016-12-07T17:27:32Z) Resolution: open Priority: low Severity: minor Version: 4.01.0 Target version: later Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues Monitored by:@gasche
Bug description
When camlp4 is loaded, it sometimes triggers a Stack_overflow exception when expressions get interrupted in the top-level.
Steps to reproduce
$ ocaml
OCaml version 4.01.0
match "=" with | s when s = "=" -> true | _ -> false;
Interrupted.
match "=" with | s when s = "=" -> true | _ -> false;;
: bool = true
#load "dynlink.cma";;
#load "camlp4o.cma";;
Camlp4 Parsing version 4.01.0
match "=" with | s when s = "=" -> true | _ -> false;
Interrupted.
match "=" with | s when s = "=" -> true | _ -> false;;
Error: Camlp4: Uncaught exception: Stack_overflow
Additional information
Verified with 4.00.1 and 4.01.0 on OS X 10.8 and Fedora 18. Note the single semi-colon in the first expression.
The text was updated successfully, but these errors were encountered:
Original bug ID: 6212
Reporter: bnoordhuis
Assigned to: @bobzhang
Status: closed (set by @diml on 2016-12-07T17:27:32Z)
Resolution: open
Priority: low
Severity: minor
Version: 4.01.0
Target version: later
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Monitored by: @gasche
Bug description
When camlp4 is loaded, it sometimes triggers a Stack_overflow exception when expressions get interrupted in the top-level.
Steps to reproduce
$ ocaml
OCaml version 4.01.0
match "=" with | s when s = "=" -> true | _ -> false;
Interrupted.
match "=" with | s when s = "=" -> true | _ -> false;;
#load "dynlink.cma";;
#load "camlp4o.cma";;
match "=" with | s when s = "=" -> true | _ -> false;
Interrupted.
match "=" with | s when s = "=" -> true | _ -> false;;
Error: Camlp4: Uncaught exception: Stack_overflow
Additional information
Verified with 4.00.1 and 4.01.0 on OS X 10.8 and Fedora 18. Note the single semi-colon in the first expression.
The text was updated successfully, but these errors were encountered: