Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M menhir
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • POTTIER Francois
  • menhir
  • Issues
  • #47

Closed
Open
Created Nov 04, 2020 by POTTIER Francois@fpottierOwner

Type error reported in mock file

This grammar contains a type error:

%token TOK
%start a
%type <unit> a
%%
let a :=
  | TOK
  | TOK*

The type error is unfortunately reported in the mock file:

File "file__mock.ml.mock", line 34, characters 5-17:
34 |     ((_1 : 'tv_a) : (
          ^^^^^^^^^^^^
Error: This expression has type unit list
       but an expression was expected of type unit

This problem was reported by yannl35133@gmail.com

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking