Reverse the safe/unsafe requirement on foreign import prim
authorDuncan Coutts <duncan@well-typed.com>
Thu, 11 Jun 2009 11:52:43 +0000 (11:52 +0000)
committerDuncan Coutts <duncan@well-typed.com>
Thu, 11 Jun 2009 11:52:43 +0000 (11:52 +0000)
commitf73446118d7168e238868b591be748ab0997045c
tree72e930a5ca8d1cd94e280417714f3ddcf5b481b0
parentcbbee4e8727c583daf32d9bf17f00afaa839ef10
Reverse the safe/unsafe requirement on foreign import prim
The safe/unsafe annotation doesn't currently mean anything for prim.
Just in case we decide it means something later it's better to stick
to using one or the other consistently. We decided that using safe
is the better one to require (and it's also the default).
compiler/typecheck/TcForeign.lhs