Skip to content

extra TySum constructors arise from <:ctyp< >> in original syntax #5104

@vicuna

Description

@vicuna

Original bug ID: 5104
Reporter: jaked
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2015-12-11T18:04:45Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.12.0+beta1 or 3.12.0+rc1
Fixed in version: 4.00.0+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Related to: #5080 #5231
Monitored by: @hcarty

Bug description

Extra TySum constructors arise from <:ctyp< >> quotations compared to 3.11.x. E.g.

<:ctyp< Foo >>, <:ctyp< Foo of unit >>, <:ctyp< Foo | Bar >>, <:ctyp< $x$ and $y$ >>

and, more strangely, since this does not involve sums

<:ctyp< $x$; $y$ >>

In order to be portable between 3.11.x and 3.12.x I need to use Ast constructors directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions