Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,866
    • Issues 4,866
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 461
    • Merge requests 461
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #17156
Closed
Open
Created Sep 06, 2019 by Ömer Sinan Ağacan@osa1Maintainer

Hadrian should warn when multiple flavours have same name

A flavour like this

userDefaultFlavour :: String
userDefaultFlavour = "default"

userFlavour :: Flavour
userFlavour = Flavour { name = userDefaultFlavour,  ... }

is hard to use (if not impossible) because (I think) by default there's another flavour with the name "default" already defined (in Settings.hadrianFlavours) so when I ask hadrian to use the "default" flavour the other one is used instead of mine.

I think Hadrian should be warning the user when multiple flavours have the same name as some of those flavours will be unusable by the user.

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