Commit 17907626 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #12681

parent f7278a90
module T12681 where
import qualified T12681a
x = T12681a.A { a = 0 }
T12681.hs:4:17: error:
Not in scope: ‘a’
Perhaps you meant ‘T12681a.a’ (imported from T12681a)
module T12681a where
data A = A { a :: Int }
......@@ -140,3 +140,4 @@ test('T11071', normal, compile_fail, [''])
test('T11071a', normal, compile_fail, [''])
test('T11663', normal, compile_fail, [''])
test('T12229', normal, compile, [''])
test('T12681', normal, multimod_compile_fail, ['T12681','-v0'])
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