Fix FFI declaration checks
authorSimon Marlow <marlowsd@gmail.com>
Wed, 14 Oct 2009 14:01:28 +0000 (14:01 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 14 Oct 2009 14:01:28 +0000 (14:01 +0000)
commit084a2fc52452bc2aba0511dd191923d677088d02
tree446f41518cb3abc9cc7f5d26e4c45802177e112a
parent0856ac59cfb455d32a3042317fdba0f5e85cab9c
Fix FFI declaration checks
For GHCi, foreign labels should be allowed, but foreign export should
be disallowed; both were previously wrong.
compiler/typecheck/TcForeign.lhs