Skip to content

0.33.0

Latest
Compare
Choose a tag to compare
@NathanReb NathanReb released this 22 Jul 09:44
· 36 commits to main since this release

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 to Ast_builder.{e,p}list, so
    they can build ASTs like a :: b :: c instead of only [ a; b ].
    (#498, #502, @v-gb, @NathanReb)

  • Fix Longident.parse so it also handles indexing operators such as
    .!(), .%(;..)<-, or Vec.(.%()) (#494, @Octachron)

  • Add a special_function' variant which directly takes a Longident.t
    argument to avoid the issue that Longident.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)