Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L lustre-v6
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • verimagverimag
  • synchrone
  • lustre-v6
  • Issues
  • #8
Closed
Open
Issue created Sep 04, 2019 by erwan@jahierOwner

The difference of 2 enums is wrong when using the --expand-enums-as-bool option

Reported by Vincent Mussot.

The program

type E = enum { A, B, C};

node bug(do : bool) returns (ok : E);
  let
    ok = if (false ->  (pre(ok) <> A)) then C
         else if (false -> do) then B
         else A;
  tel

returns A B B instead of A B C when the input is "t t t"

nb: this option is in the -dev category, but it as used by the -ec one!

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