Changeset 15425 for src/Pugs/Eval.hs
- Timestamp:
- 03/03/07 16:37:34 (21 months ago)
- Files:
-
- 1 modified
-
src/Pugs/Eval.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Eval.hs
r15421 r15425 289 289 else name 290 290 | isGlobalVar var || pkg `notElem` [emptyPkg, callerPkg, outerPkg, contextPkg] -> do 291 -- $Qualified::Varis not found. Vivify at lvalue context.291 -- '$Qualified::Var' is not found. Vivify at lvalue context. 292 292 lv <- asks envLValue 293 293 if lv then evalExp (Sym SGlobal var (Var var)) else retEmpty 294 294 | otherwise -> do 295 295 s <- isStrict 296 if s then retError "Undeclared variable" var296 if s then do retError "Undeclared variable" var 297 297 else do lv <- asks envLValue 298 298 if lv then evalExp (Sym SGlobal var (Var var)) else retEmpty … … 659 659 Just tvar -> return (tvar, ref) 660 660 _ | isGlobalVar var || v_package var `notElem` [emptyPkg, callerPkg, outerPkg, contextPkg] -> do 661 -- $Qualified::Varis not found. Vivify at lvalue context.661 -- '$Qualified::Var' is not found. Vivify at lvalue context. 662 662 evalExp (Sym SGlobal var Noop) 663 663 rv' <- findVarRef var
