Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
51da30f7
Commit
51da30f7
authored
Sep 15, 2010
by
simonpj
Browse files
Accept error message changes
parent
1e920ad3
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/deriving/should_fail/drvfail011.stderr
View file @
51da30f7
...
...
@@ -4,10 +4,7 @@ drvfail011.hs:8:1:
arising from a use of `=='
In the expression: ((a1 == b1))
In an equation for `==': == (T1 a1) (T1 b1) = ((a1 == b1))
When typechecking a standalone-derived method for `Eq (T a)':
== (T1 a1) (T1 b1) = ((a1 == b1))
== a b
= case (ShouldFail.$con2tag_T a) of {
a# -> case (ShouldFail.$con2tag_T b) of {
b# -> (a# GHC.Prim.==# b#) } }
When typechecking the code for `=='
in a standalone derived instance for `Eq (T a)':
To see the code I am typechecking, use -ddump-deriv
In the instance declaration for `Eq (T a)'
testsuite/tests/ghc-regress/indexed-types/should_compile/T3017.stderr
View file @
51da30f7
...
...
@@ -12,7 +12,7 @@ TYPE CONSTRUCTORS
INSTANCES
instance Coll (ListColl a) -- Defined at T3017.hs:12:11-27
FAMILY INSTANCES
type
instance
Elem (ListColl a) -- Defined at T3017.hs:13:9-12
type Elem (ListColl a) -- Defined at T3017.hs:13:9-12
Tycons with generics:
Dependent modules: []
Dependent packages: [base, ghc-prim, integer-gmp]
testsuite/tests/ghc-regress/indexed-types/should_fail/T4246.stderr
View file @
51da30f7
T4246.hs:8:9:
Conflicting family instance declarations:
type
instance
F a -- Defined at T4246.hs:8:9
type
instance
F Int -- Defined at T4246.hs:11:9
T4246.hs:14:15:
Conflicting family instance declarations:
type instance G Int -- Defined at T4246.hs:14:15
type instance G Int -- Defined at T4246.hs:15:15
T4246.hs:8:9:
Conflicting family instance declarations:
type F a -- Defined at T4246.hs:8:9
type F Int -- Defined at T4246.hs:11:9
T4246.hs:14:15:
Conflicting family instance declarations:
type instance G Int -- Defined at T4246.hs:14:15
type instance G Int -- Defined at T4246.hs:15:15
testsuite/tests/ghc-regress/simplCore/should_compile/spec-inline.stderr
View file @
51da30f7
...
...
@@ -166,7 +166,7 @@ Roman.foo :: GHC.Types.Int -> GHC.Types.Int
Arity=1,
Caf=NoCafRefs,
Str=DmdType S(A)m,
Unf=Unf{Src=Inline
Ru
le, TopLvl=True, Arity=1, Value=True,
Unf=Unf{Src=Inline
Stab
le, TopLvl=True, Arity=1, Value=True,
ConLike=True, Cheap=True, Expandable=True,
Guidance=ALWAYS_IF(unsat_ok=True,boring_ok=False)
Tmpl= \ (n [Occ=Once!] :: GHC.Types.Int) ->
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment