Fix incorrect ambiguity error on identically-named data constructors
[ghc.git] / testsuite / tests / typecheck / should_fail / mc19.hs
1 -- Checks that the correct type is used checking the using clause of the transform
2
3 {-# LANGUAGE MonadComprehensions, TransformListComp #-}
4
5 module ShouldFail where
6
7 import Data.List(inits)
8
9 z :: [Int]
10 z = [x | x <- [3, 2, 1], then inits]
11