From 82b4511dffa72a7521bd751ccb7d220ed4f2f7ae Mon Sep 17 00:00:00 2001 From: dos-reis Date: Fri, 25 Jan 2008 05:21:41 +0000 Subject: Fix AW/272 * interp/i-spec1.boot (compileADEFBody): Don't evaluate unnamed functions. Compile them instead. * testsuite/interpreter/aw-272.input: New. --- src/interp/i-spec1.boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interp/i-spec1.boot') diff --git a/src/interp/i-spec1.boot b/src/interp/i-spec1.boot index 9190d67d..14c28dcd 100644 --- a/src/interp/i-spec1.boot +++ b/src/interp/i-spec1.boot @@ -178,8 +178,8 @@ compileADEFBody(t,vars,types,body,computedResultType) == -- -- MCD 13/3/96 if not $definingMap and ($genValue or $compilingMap) then - fun := ["function",["LAMBDA",[:vars,'envArg],body]] - code := wrap timedEVALFUN ['LIST,fun] + fun := [$mapName,["LAMBDA",[:vars,'envArg],body]] + code := wrap compileInteractive fun else $freeVariables := [] $boundVariables := [minivectorName,:vars] -- cgit v1.2.3