ghc-exactprint icon indicating copy to clipboard operation
ghc-exactprint copied to clipboard

GHC version of haskell-src-exts exactPrint

Results 33 ghc-exactprint issues
Sort by recently updated
recently updated
newest added

``` src/Language/Haskell/GHC/ExactPrint/Orphans.hs:55:18: error: Not in scope: type constructor or class ‘AnnsLet’ | 55 | instance Default AnnsLet where | ^^^^^^^ ``` ``` src/Language/Haskell/GHC/ExactPrint/Lookup.hs:19:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In...

I noticed the funciton can be simplified a fair bit.

I didn't see an existing issue on this - thought it would be a good idea to create one. This would enable apply-refact and other libraries depending on ghc-exactprint to...

* We have detected in haskell-language-server executable that libraries using this package might fail due to `/opt/ghc/8.8.4/lib/ghc-8.8.4/settings: openFile: does not exist (No such file or directory)` * brittany: https://github.com/haskell/haskell-language-server/issues/412 and...

When refactoring ```haskell f = \x -> case scrut of pat -> body ``` initially the `annEntryDelta` of `pat` is relative to the starting position of "case", in this case...

Consider the following, completely synthesized term: ```haskell import Language.Haskell.GHC.ExactPrint import OccName import HsExpr import HsPat import RdrName import GHC import BasicTypes z :: LHsExpr GhcPs z = noLoc $ HsVar...

In the Stackage Nightly Nightly build: ``` GHC88 ### Error in: 5:Default Annotations round-trip tests:1:ghc80:150:SemicolonIf.hs ExitFailure 1 Cases: 1979 Tried: 1979 Errors: 1 Failures: 0 Counts {cases = 1979, tried...

ghc-exactprint 0.6.3.1 (ghc-8.10.1) works well on Windows for most code, but it seems to insert extra carriage returns in comments. For example, ```haskell --Another comment -- newtype N a =...

I am using `ghx-exactprint` to write ghc type-checked plugin, with ghc-8.10.1. I am testing it over the `agda` codebase (https://github.com/agda/agda) as it uses a range of GHC features. `ghc-exactprint` generally...

ParseResult should probably be the same type in any GHC version. It makes reading the haddocks confusing if type aliases are different things in different GHC versions.