#4227: Allow SPECIALISE pragmas for functions defined in another module
---------------------------+------------------------------------------------
  Reporter:  simonpj       |          Owner:                  
      Type:  bug           |         Status:  new             
  Priority:  normal        |      Milestone:  7.4.1           
 Component:  Compiler      |        Version:  6.12.3          
Resolution:                |       Keywords:                  
  Testcase:                |      Blockedby:                  
Difficulty:                |             Os:  Unknown/Multiple
  Blocking:                |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by michalt):

 * cc: michal.terepeta@… (added)


Comment:

 I can reproduce the problem on 7.0.3, but it seems to be fixed in HEAD.
 The
 example compiles just fine and for some simple test like:
 {{{
 test :: [()]
 test = myEnum
 }}}
 the rule for specilization fires as expected.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4227#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to