aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-coerce.boot.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/i-coerce.boot.pamphlet')
-rw-r--r--src/interp/i-coerce.boot.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/i-coerce.boot.pamphlet b/src/interp/i-coerce.boot.pamphlet
index f7c690a4..a3bc0760 100644
--- a/src/interp/i-coerce.boot.pamphlet
+++ b/src/interp/i-coerce.boot.pamphlet
@@ -1400,7 +1400,7 @@ coerceByFunction(T,m2) ==
[fn,:d]:= fun
isWrapped x =>
x:= unwrap x
- mkObjWrap(SPADCALL(CAR x,CDR x,fun),m2)
+ objNewWrap(SPADCALL(CAR x,CDR x,fun),m2)
x isnt ['SPADCALL,a,b,:.] => keyedSystemError("S2IC0015",NIL)
code := ['SPADCALL, a, b, fun]
objNew(code,$Boolean)