From: Michel Levy <michel.levy1948@gmail.com>
To: OCaml List <caml-list@inria.fr>
Subject: [Caml-list] error in Ocaml 4.02 and not error in Ocaml 4.05
Date: Mon, 24 Jun 2019 23:09:35 +0200 [thread overview]
Message-ID: <8262157f-ffe5-b12e-f09a-dd01ef083c73@gmail.com> (raw)
In "my" ocaml version, 4.05, the line A of {lit : literal; mutable scope
: int} of the type declaration
type ab_literal =
| A of {lit : literal; mutable scope : int}
| B of literal;;
is correct.
but in the ocaml version 4.02, the line A of {lit : literal; mutable
scope : int} is a syntax error.
Where can I find this error in the documentation and/or the
announcement of this syntax change ?
--
courriel : michel.levy1948@gmail.com
mobile : 0659134253 web : http://michel.levy.imag.free.fr
next reply other threads:[~2019-06-24 21:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-24 21:09 Michel Levy [this message]
2019-06-24 21:14 ` "António Monteiro (anmonteiro)"
2019-06-25 5:17 ` Basile Starynkevitch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8262157f-ffe5-b12e-f09a-dd01ef083c73@gmail.com \
--to=michel.levy1948@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox