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: 531 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
The toplevel printer can produce values which produce syntax errors
when used literally. For record values, a space should be placed around the '='
to avoid this problem.
type t = { x : int };;
type t = { x : int; }
let y = {x = -1};;
val y : t = {x=-1}
{x=-1};;
Characters 2-4:
Syntax error
The text was updated successfully, but these errors were encountered:
Original bug ID: 531
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Patrick Doane
Version: 3.02
OS: FreeBSD
Submission from: cs6669225-6.austin.rr.com (66.69.225.6)
The toplevel printer can produce values which produce syntax errors
when used literally. For record values, a space should be placed around the '='
to avoid this problem.
type t = { x : int };;
type t = { x : int; }
let y = {x = -1};;
val y : t = {x=-1}
{x=-1};;
Characters 2-4:
Syntax error
The text was updated successfully, but these errors were encountered: