diff options
Diffstat (limited to 'src/interp')
-rw-r--r-- | src/interp/i-coerce.boot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interp/i-coerce.boot b/src/interp/i-coerce.boot index bd11d794..c051c1c0 100644 --- a/src/interp/i-coerce.boot +++ b/src/interp/i-coerce.boot @@ -928,7 +928,8 @@ coerceSubDomain(val, tSuper, tSub) == getSubDomainPredicate(tSuper, tSub, pred) == predfn := HGET($superHash, [tSuper,:tSub]) => predfn arg := gensym() - predfn := COMPILE(nil,["LAMBDA",[arg],substitute(arg,"#1", pred)]) + [predfn] := compileInteractive + [gensym(),['LAM,[arg],substitute(arg,"#1", pred)]] HPUT($superHash, [tSuper,:tSub], predfn) predfn |