id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,testcase,blockedby,blocking,related,differential
2276,"foreign import stdcall ""&foo"" doesn't work",simonmar,igloo,"Importing a label with the stdcall calling convention fails to remember the stdcall attribute and add the appropriate '@n' suffix to the label on Windows. e.g.
{{{
foreign import stdcall ""&foo"" foo :: FunPtr (CInt -> IO ())
}}}
should result in a reference to ""foo@4"", but doesn't. This breaks the Win32 library, which does something like this for `genericWndProc` in `Graphics/Win32/Window.hsc`.
Somewhat related to to #1288 .
",merge,closed,normal,6.8.3,Compiler,6.8.2,fixed,,,Windows,x86,,,,,,