Commit 5f8147a8 authored by Simon Marlow's avatar Simon Marlow
Browse files

accept output

parent a4c0b2d0
mod110.hs:11:9:
Ambiguous occurrence `Eq'
It could refer to either `Eq', defined at mod110.hs:7:6
or `Eq', imported from Prelude at mod110.hs:4:0-13
It could refer to either `M.Eq', defined at mod110.hs:7:6
or `Prelude.Eq', imported from Prelude at mod110.hs:4:0-13
mod142.hs:2:20:
Conflicting exports for `x':
`module Mod142_A' exports `x' imported from Mod142_A at mod142.hs:4:0-14
(defined at Mod142_A.hs:3:0)
`module M' exports `x' defined at mod142.hs:6:0
`module Mod142_A' exports `Mod142_A.x' imported from Mod142_A at mod142.hs:4:0-14
(defined at Mod142_A.hs:3:0)
`module M' exports `M.x' defined at mod142.hs:6:0
mod143.hs:2:20:
Conflicting exports for `Foo':
`module Mod143_A' exports `Foo' imported from Mod143_A at mod143.hs:4:0-14
(defined at Mod143_A.hs:3:5)
`module M' exports `Foo' defined at mod143.hs:6:5
`module Mod143_A' exports `Mod143_A.Foo' imported from Mod143_A at mod143.hs:4:0-14
(defined at Mod143_A.hs:3:5)
`module M' exports `M.Foo' defined at mod143.hs:6:5
mod144.hs:2:26:
Conflicting exports for `Bar':
`module Mod143_A' exports `Bar' imported from Mod143_A at mod144.hs:4:0-14
`module M' exports `Bar' defined at mod144.hs:6:12
`module Mod143_A' exports `Mod143_A.Bar' imported from Mod143_A at mod144.hs:4:0-14
`module M' exports `M.Bar' defined at mod144.hs:6:12
exit(1)
mod145.hs:2:29:
Conflicting exports for `m1':
`module Mod145_A' exports `m1' imported from Mod145_A at mod145.hs:4:0-14
(defined at Mod145_A.hs:4:2)
`module Mod145' exports `m1' defined at mod145.hs:7:2
`module Mod145_A' exports `Mod145_A.m1' imported from Mod145_A at mod145.hs:4:0-14
(defined at Mod145_A.hs:4:2)
`module Mod145' exports `Mod145.m1' defined at mod145.hs:7:2
mod146.hs:2:29:
Conflicting exports for `m1':
`module Mod145_A' exports `m1' imported from Mod145_A at mod146.hs:4:0-14
`module Mod146' exports `m1' defined at mod146.hs:7:2
`module Mod145_A' exports `Mod145_A.m1' imported from Mod145_A at mod146.hs:4:0-14
`module Mod146' exports `Mod146.m1' defined at mod146.hs:7:2
exit(1)
mod150.hs:2:19:
Conflicting exports for `id':
`module Prelude' exports `id' imported from Prelude
`module M' exports `id' defined at mod150.hs:2:41
`module Prelude' exports `Prelude.id' imported from Prelude
`module M' exports `M.id' defined at mod150.hs:2:41
mod151.hs:2:19:
Ambiguous occurrence `id'
It could refer to either `id', defined at mod151.hs:2:29
or `id', imported from Prelude
It could refer to either `M.id', defined at mod151.hs:2:29
or `Prelude.id', imported from Prelude
mod152.hs:2:25:
Ambiguous occurrence `id'
It could refer to either `id', defined at mod152.hs:2:35
or `id', imported from Prelude
It could refer to either `M.id', defined at mod152.hs:2:35
or `Prelude.id', imported from Prelude
mod152.hs:2:25:
Conflicting exports for `id':
`module Prelude' exports `id' imported from Prelude
`id' exports `id' defined at mod152.hs:2:35
`module Prelude' exports `Prelude.id' imported from Prelude
`id' exports `M.id' defined at mod152.hs:2:35
mod153.hs:2:10:
Ambiguous occurrence `id'
It could refer to either `id', defined at mod153.hs:2:20
or `id', imported from Prelude
It could refer to either `M.id', defined at mod153.hs:2:20
or `Prelude.id', imported from Prelude
mod155.hs:2:9:
Conflicting exports for `id':
`module M' exports `id' imported from Prelude at mod155.hs:4:0-18
`module M' exports `id' defined at mod155.hs:5:0
`module M' exports `M.id' imported from Prelude at mod155.hs:4:0-18
`module M' exports `M.id' defined at mod155.hs:5:0
mod164.hs:9:4:
Ambiguous occurrence `D1'
It could refer to either `D1', imported from Mod164_A at mod164.hs:4:0-14
(defined at Mod164_A.hs:3:9)
or `D1', imported from Mod164_B at mod164.hs:5:0-14
(defined at Mod164_B.hs:3:9)
It could refer to either `Mod164_A.D1', imported from Mod164_A at mod164.hs:4:0-14
(defined at Mod164_A.hs:3:9)
or `Mod164_B.D1', imported from Mod164_B at mod164.hs:5:0-14
(defined at Mod164_B.hs:3:9)
mod165.hs:9:4:
Ambiguous occurrence `A.D1'
It could refer to either `D1', imported from Mod164_A at mod165.hs:4:0-19
or `D1', imported from Mod164_B at mod165.hs:5:0-19
It could refer to either `A.D1', imported from Mod164_A at mod165.hs:4:0-19
or `A.D1', imported from Mod164_B at mod165.hs:5:0-19
exit(1)
rnfail029.hs:2:30:
Conflicting exports for `map':
`List.map' exports `map' imported from List at rnfail029.hs:3:0-20
`module ShouldFail' exports `map' defined at rnfail029.hs:4:0
`List.map' exports `List.map' imported from List at rnfail029.hs:3:0-20
`module ShouldFail' exports `ShouldFail.map' defined at rnfail029.hs:4:0
rnfail040.hs:7:11:
Conflicting exports for `nub':
`module M' exports `nub' imported from List at rnfail040.hs:10:1-16
`module M' exports `nub' imported from Rnfail040_A at rnfail040.hs:11:1-23
(defined at Rnfail040_A.hs:2:2)
`module M' exports `M.nub' imported from List at rnfail040.hs:10:1-16
`module M' exports `T.nub' imported from Rnfail040_A at rnfail040.hs:11:1-23
(defined at Rnfail040_A.hs:2:2)
rnfail044.hs:5:11:
Ambiguous occurrence `splitAt'
It could refer to either `splitAt', defined at rnfail044.hs:8:2
or `splitAt', imported from Prelude
It could refer to either `A.splitAt', defined at rnfail044.hs:8:2
or `Data.List.splitAt', imported from Prelude
tcfail121.hs:12:8:
Overlapping instances for Foo [a]
arising from a use of `op' at tcfail121.hs:12:8-11
Matching instances:
instance [overlap ok] (Foo a) => Foo [a]
-- Defined at tcfail121.hs:8:0-24
instance [overlap ok] Foo [Int] -- Defined at tcfail121.hs:9:0-17
(The choice depends on the instantiation of `a'
Use -fallow-incoherent-instances to use the first choice above)
In the expression: op x
In the definition of `foo': foo x = op x
tcfail121.hs:12:8:
Overlapping instances for Foo [a]
arising from a use of `op' at tcfail121.hs:12:8-11
Matching instances:
instance [overlap ok] (Foo a) => Foo [a]
-- Defined at tcfail121.hs:8:0-24
instance [overlap ok] Foo [Int] -- Defined at tcfail121.hs:9:0-17
(The choice depends on the instantiation of `a'
To pick the first instance above, use -fallow-incoherent-instances
when compiling the other instances)
In the expression: op x
In the definition of `foo': foo x = op x
tcfail133.hs:67:13:
No instance for (AddDigit ((:@) Zero ((:@) One One)) One a)
arising from a use of `add' at tcfail133.hs:67:13-38
Possible fix:
add an instance declaration for
(AddDigit ((:@) Zero ((:@) One One)) One a)
In the second argument of `($)', namely
`add (One :@ Zero) (One :@ One)'
In the expression: show $ (add (One :@ Zero) (One :@ One))
In the definition of `foo':
foo = show $ (add (One :@ Zero) (One :@ One))
tcfail133.hs:67:13:
No instance for (AddDigit (Zero :@ (One :@ One)) One a)
arising from a use of `add' at tcfail133.hs:67:13-38
Possible fix:
add an instance declaration for
(AddDigit (Zero :@ (One :@ One)) One a)
In the second argument of `($)', namely
`add (One :@ Zero) (One :@ One)'
In the expression: show $ (add (One :@ Zero) (One :@ One))
In the definition of `foo':
foo = show $ (add (One :@ Zero) (One :@ One))
tcfail145.hs:9:5:
Couldn't match expected type `a' (a rigid variable)
against inferred type `[a]'
Couldn't match expected type `a' against inferred type `[a]' `a'
When matching `forall a. [a] -> [a]'
and `forall a. a -> a'
Expected type: forall a1. a1 -> a1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment