0.32.0
CHANGES:
-
Add an optional
embed_errors
argument toContext_free.map_top_down
that
controls how to deal with exceptions thrown by context-free rules.
(#468, @NathanReb) -
Fix
Longident.parse
so it properly handles unparenthesized dotted operators
such as+.
or*.
. (#111, @rgrinberg, @NathanReb) -
raising an exception does no longer cancel the whole context free phase(#453, @Burnleydev1)
-
Sort embedded errors that are appended to the AST by location so the compiler
reports the one closer to the beginning of the file first. (#463, @NathanReb) -
Update
Attribute.get
to ignoreloc_ghost
. (#460, @ceastlund) -
Add API to manipulate attributes that are used as flags (#408, @dianaoigo)
-
Update changelog to use ISO 8061 date format: YYYY-MM-DD. (#445, @ceastlund)
-
Replace
Caml
withStdlib
. (#427, @ceastlund) -
When a transformation raises, the last valid AST is used as input to the upcoming
transformations. All such errors are collected and appended as
extension nodes to the final AST (#447, @Burnleydev1) -
Fix a small mistake in the man pages: Embededding errors is done by default with
-as-pp
, not with-dump-ast
(#464, @pitag-ha) -
Set appropriate binary mode when writing to
stdout
especially for Windows
compatibility. (#466, @jonahbeckford)