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,972
    • Issues 4,972
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 480
    • Merge requests 480
  • 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
  • Merge requests
  • !3375

Clean up file paths for new module hierarchy

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Takenobu Tani requested to merge takenobu-hs/ghc:wip/fix-comment-path into master May 28, 2020
  • Overview 19
  • Commits 2
  • Pipelines 2
  • Changes 40

This updates comments only.

This patch replaces file references according to new module hierarchy [1][2].

For files under the compiler/ directory, I replace them as module paths instead of file paths. For instance, GHC.Unit.State instead of compiler/GHC/Unit/State.hs [3].

For current and future haddock's markup, this patch encloses the module name with "" [4].

  • [1] https://gitlab.haskell.org/ghc/ghc/-/wikis/Make-GHC-codebase-more-modular
  • [2] #13009 (closed)
  • [3] !3375 (comment 276613)
  • [4] https://haskell-haddock.readthedocs.io/en/latest/markup.html#linking-to-modules
Edited May 29, 2020 by Takenobu Tani
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/fix-comment-path