Krzysztof Gogolewski

Results 10 issues of Krzysztof Gogolewski

The test `haddockHtmlTest` fails with Haddock's `ghc-9.0` branch 23ee81fc79. I'm using the tip of GHC's `ghc-9.0` branch - commit c78867a186c21, except the submodule is updated: https://gitlab.haskell.org/tweag/ghc/-/pipelines/31780 I have not investigated...

``` ghci> data T = MkT ghci> MkT :2:1: error: • No instance for (Show T) arising from a use of ‘print’ • In a stmt of an interactive GHCi...

Here's an error message: ``` Data constructor not in scope: NonRec :: Id -> GHC.Core.CoreExpr -> GHC.Core.Bind b0 Suggested fix: • Perhaps you want to add ‘NonRec’ to the import...

tool:GHC
type:error-message
status:Composing error message

When defining an unlifted datatype or newtype, GHC helpfully tells me `Suggested fix: Perhaps you intended to use UnliftedNewtypes` or `UnliftedDatatypes`. But this does not happen with data families, as...

This ```haskell {-# LANGUAGE PatternSynonyms #-} pattern P x = () ``` gives ``` M.hs:2:11: error: Not in scope: ‘x’ | 2 | pattern P x = () | ^...

If I refer to an unknown method in a class ```hs module M where import Data.Data (Data (gunfold)) data T instance Data T where toConstr = undefined gunfolt = undefined...

The goal of this ticket is go to through the text of the [proposal](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0111-linear-types.rst) once more, and make sure all deficiencies have a matching ticket. Once this is done, let's...

Currently Core Lint manually reduces multiplication of multiplicities in `normalize` inside `ensureSubMult`. Goal: change to `reduceTyFamApp_maybe`.

Some parts of the linear rebindable syntax code are not covered, eg. #428. The goal is to add coverage.