CHANGES:
-
Fix a bug where
Code_path.main_module_name
would not properly remove
extensions from the filename and therefore return an invalid module name.
(#512, @NathanReb) -
Add
-unused-type-warnings
flag to the driver to allow users to disable
only the generation of warning 34 silencing structure items when using
[@@deriving ...]
on type declarations. (#511, @mbarbin, @NathanReb) -
Make
-unused-code-warnings
flag to the driver also controls the generation
of warning 34 silencing structure items when using[@@deriving ...]
on type
declarations. (#510, @mbarbin, @NathanReb) -
Driver: Add
-unused-code-warnings=force
command-line flag argument. (#490, @mbarbin) -
new functions
Ast_builder.{e,p}list_tail
that take an extra tail
expression/pattern argument parameter compared toAst_builder.{e,p}list
, so
they can build ASTs likea :: b :: c
instead of only[ a; b ]
.
(#498, #502, @v-gb, @NathanReb) -
Fix
Longident.parse
so it also handles indexing operators such as
.!()
,.%(;..)<-
, orVec.(.%())
(#494, @Octachron) -
Add a
special_function'
variant which directly takes aLongident.t
argument to avoid the issue thatLongident.t
cover distinct syntaxic classes
which cannot be easily parsed by a common parser (#496, @Octachron). -
Keep location ranges consistent when migrating
Pexp_function
nodes from 5.2+
to older versions (#504, @jchavarri) -
Fix
-locations-check
behaviour so it is no longer required to pass-check
as well to enable location checks. (#506, @NathanReb)