Changeset 8699 for src/Pugs/Eval.hs

Show
Ignore:
Timestamp:
01/16/06 13:08:43 (3 years ago)
Author:
audreyt
Message:

* DrIFT.YAML: Do not die when the Typeable instance is undefined.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Eval.hs

    r8640 r8699  
    390390    env  <- ask 
    391391    cont <- if subType sub /= SubCoroutine then return Nothing else liftSTM $ do 
    392         tvar <- newTVar undefined 
     392        tvar <- newTVar (error "empty sub") 
    393393        let thunk = (`MkThunk` anyType) . fix $ \redo -> do 
    394394            evalExp $ subBody sub