Changeset 22990 for src/Pugs/Compile.hs

Show
Ignore:
Timestamp:
11/12/08 10:01:29 (8 weeks ago)
Author:
audreyt
Message:

* GHC 6.10 support, part 3 of 3: Adjust for GADT's "rigid types" restriction.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Compile.hs

    r22313 r22990  
    7777        canCompile (name@('&':_) :: String, sym) = do 
    7878            (ref :: VRef) <- sym 
    79             case ref of 
     79            (case ref of 
    8080                MkRef ICode{} -> do 
    8181                    codes <- readCodesFromRef ref 
     
    8383                MkRef (IScalar sv) | scalar_iType sv == mkType "Scalar::Const" 
    8484                    -> doCode name =<< fromVal =<< scalar_fetch sv 
    85                 _ -> return [] 
     85                _ -> return []) :: Comp [PIL_Decl] 
    8686        canCompile ("@*END", sym) = do 
    8787            ref     <- sym