Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Nix default
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v19
- run: nix build -L
- run: nix develop -L -c echo "All good"
Expand All @@ -22,10 +22,11 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: [ ghc8107, ghc902, ghc927, ghc945, ghc962 ]
ghc: [ ghc910, ghc98, ghc96 ]
# GHC 9.4 and earlier have issues with the `unix` package that I don't feel like figuring out
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v19
- name: nix build
run: nix build -L .#calligraphyFor.${{ matrix.ghc }}
Expand All @@ -39,12 +40,13 @@ jobs:
strategy:
fail-fast: false
matrix:
resolver: [ nightly, lts-20, lts-19, lts-18, lts-17, lts-16, lts-15 ]
os: [ macos-latest, ubuntu-latest ]
resolver: [ nightly, lts-23, lts-22, lts-21, lts-20, lts-19, lts-18, lts-17, lts-16, lts-15 ]
# macos-13 is a workaround for https://github.com/haskell-actions/setup/issues/77
os: [ macos-13, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
enable-stack: true
- run: stack init --resolver ${{ matrix.resolver }}
Expand All @@ -57,12 +59,12 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: [ '8.8.4', '8.10.7', '9.0.2', '9.2.7', '9.4.5', '9.6.2' ]
os: [ ubuntu-latest, macos-latest ]
ghc: [ '8.8.4', '8.10.7', '9.0.2', '9.2.8', '9.4.8', '9.6.6', '9.8.4', '9.10.1' ]
os: [ ubuntu-latest, macos-13 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
- uses: actions/cache@v3
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.1.7
### [Added]
- [#46] GHC 9.8, 9.10 support

## 0.1.6
### [Changed]
- Internal change; partially undid the Prelude structure implemented in [#22] and [#27], since it was causing issues (see [#32])
Expand Down
11 changes: 9 additions & 2 deletions calligraphy.cabal
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
cabal-version: 2.4
name: calligraphy
version: 0.1.6
version: 0.1.7
license: BSD-3-Clause
build-type: Simple
license-file: LICENSE
author: Jonas Carpay
maintainer: Jonas Carpay <jonascarpay@gmail.com>
copyright: 2022 Jonas Carpay
tested-with:
GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.5 || ==9.6.2
GHC ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.6
|| ==9.8.4
|| ==9.10.1

extra-doc-files:
CHANGELOG.md
Expand Down
32 changes: 25 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
description = "calligraphy";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-23.05";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
inputs.flake-utils.url = "github:numtide/flake-utils";

outputs = inputs:
Expand All @@ -22,12 +22,14 @@
let

per-compiler = f: pkgs.lib.genAttrs [
"ghc962"
"ghc945"
"ghc927"
"ghc902"
"ghc8107"
"ghc884"
"ghc910"
"ghc98"
"ghc96"
"ghc94"
"ghc92"
"ghc90"
"ghc810"
"ghc88"
]
(ghc: f pkgs.haskell.packages.${ghc});

Expand Down
2 changes: 1 addition & 1 deletion src/Calligraphy/Phases/Parse.hs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
rs

ghcNameKey :: GHC.Name -> GHCKey
ghcNameKey = GHCKey . GHC.getKey . GHC.nameUnique
ghcNameKey = GHCKey . fromIntegral . GHC.getKey . GHC.nameUnique

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.8.4 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.10.7 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 9.2.8 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 9.4.8 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 9.6.6 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 9.0.2 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-20 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-20 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-20 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.10.7 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-19 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-19 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-19 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 9.4.8 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 9.6.6 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-21 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-21 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-21 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-22 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-22 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-22 on ubuntu-latest

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.8.4 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 9.2.8 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-20 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-20 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-20 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 9.0.2 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-21 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-21 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-21 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-19 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-19 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-19 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-22 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-22 on macos-13

Call of fromIntegral :: Int -> Int

Check warning on line 105 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-22 on macos-13

Call of fromIntegral :: Int -> Int

newtype ParsePhaseDebugInfo = ParsePhaseDebugInfo {modulesLexTrees :: [(String, LexTree Loc RawDecl)]}

Expand Down Expand Up @@ -226,11 +226,11 @@

typeMap = resolveTypes typeArr

ignoreNode nodeInfo = any ($ nodeInfo) [isInstanceNode, isTypeSignatureNode, isInlineNode, isMinimalNode, isDerivingNode]

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.8.4 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.10.7 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.10.7 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.8.4 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 229 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

go :: GHC.HieAST GHC.TypeIndex -> State Collect ()
go node@(GHC.Node _ _ children) =
forT_ sourceInfo node $ \nodeInfo ->

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.8.4 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.10.7 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on ubuntu-latest

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.10.7 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Cabal with GHC 8.8.4 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-17 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-15 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-18 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding

Check warning on line 233 in src/Calligraphy/Phases/Parse.hs

View workflow job for this annotation

GitHub Actions / Stack lts-16 on macos-13

This binding for ‘nodeInfo’ shadows the existing binding
unless (ignoreNode nodeInfo) $ do
Foldable.forM_ (M.toList $ GHC.nodeIdentifiers nodeInfo) $ \case
(Right name, GHC.IdentifierDetails ty info) | not (isGenerated name) -> do
Expand Down
Loading