Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into overlapping-tyfams
- Loading branch information
Showing
13 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{-# LANGUAGE StandaloneDeriving #-} | ||
module Main where | ||
|
||
data A | ||
deriving instance Read A | ||
|
||
main = seq (read "" :: A) (return ()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
T7931: Derived Read on empty data type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{-# LANGUAGE TypeFamilies, PolyKinds #-} | ||
|
||
module T7939 where | ||
|
||
class Foo a where | ||
type Bar a | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
:l T7939 | ||
:i Bar | ||
:k Bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class Foo (k :: BOX) (a :: k) where | ||
type family Bar (k :: BOX) (k :: BOX) (a :: k) :: k | ||
-- Defined at T7939.hs:6:9 | ||
Bar :: k1 -> k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
class GHC.Base.Monad m => Control.Monad.MonadPlus m where | ||
... | ||
mplus :: m a -> m a -> m a | ||
class GHC.Base.Monad m => Control.Monad.MonadPlus m where | ||
... | ||
Control.Monad.mplus :: m a -> m a -> m a | ||
class GHC.Base.Monad m => | ||
Control.Monad.MonadPlus (m :: * -> *) where | ||
... | ||
mplus :: m a -> m a -> m a | ||
class GHC.Base.Monad m => | ||
Control.Monad.MonadPlus (m :: * -> *) where | ||
... | ||
Control.Monad.mplus :: m a -> m a -> m a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module T7937 where | ||
|
||
-- Without this operator definition, a precedence parsing error is reported. | ||
-- Perhaps the default precedence is being assumed for the unknown operator? | ||
-- That seems wrong, since there's no way to know what the precedence will be when | ||
-- the operator is defined as the programmer intended. | ||
|
||
foo = 3 > 4 *** 5 == 6 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
T7937.hs:8:13: | ||
Not in scope: ‛***’ | ||
Perhaps you meant ‛**’ (imported from Prelude) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters