Changeset 5364

Show
Ignore:
Timestamp:
07/10/05 17:43:17 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
7349
Message:

* argh, PCP broke PIR compilation. too tired to fix it tonight

-- at least throw out a meaningful error msg.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/CodeGen.hs

    r5042 r5364  
    4545    gen <- catch (doLookup s) $ \_ -> do 
    4646        fail $ "Cannot compile to " ++ s 
    47     VStr str <- runEvalIO env gen 
    48     return str 
     47    rv <- runEvalIO env gen 
     48    case rv of 
     49        VStr str    -> return str 
     50        _           -> fail (show rv)