Commit 08079dc4 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test for Trac #1581

parent 6562dc32
......@@ -26,4 +26,5 @@ test('ghci015', ignore_output, ghci_script, ['ghci015.script'])
test('ghci016', expect_broken(552), ghci_script, ['ghci016.script'])
test('ghci017', extra_run_opts('-hide-package haskell98'), ghci_script, ['ghci017.script'])
test('ghci018', expect_broken(1201), ghci_script, ['ghci018.script'])
test('ghci019', normal, ghci_script, ['ghci019.script'])
-- Trac #1581
-- Even though Eq is not in scope unqualified, we want to
-- see the Eq instance of Foo when we say :i Foo
module Foo where
import qualified Prelude
data Foo = Foo
instance Prelude.Eq Foo
data Foo = Foo -- Defined at ghci019.hs:4:5-7
instance Prelude.Eq Foo -- Defined at ghci019.hs:5:0-22
Markdown is supported
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