projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94a688b
)
Fix ADD-DEFAULTED-SUBPROBLEMS! to use the model's original rest parameter.
author
Taylor R Campbell
<campbell@mumble.net>
Wed, 21 Oct 2009 19:17:06 +0000
(15:17 -0400)
committer
Taylor R Campbell
<campbell@mumble.net>
Wed, 21 Oct 2009 19:17:06 +0000
(15:17 -0400)
src/compiler/fgopt/order.scm
patch
|
blob
|
history
diff --git
a/src/compiler/fgopt/order.scm
b/src/compiler/fgopt/order.scm
index cd5cc9f566b50a210984f49fca33981b5c4f64ea..936503fa7ec33c31bdd358090c72b6bd392e3bb2 100644
(file)
--- a/
src/compiler/fgopt/order.scm
+++ b/
src/compiler/fgopt/order.scm
@@
-234,7
+234,7
@@
USA.
(length (procedure-original-optional model)))))
(if (or (< n-supplied n-required)
(and (> n-supplied n-expected)
- (not (procedure-rest model))))
+ (not (procedure-
original-
rest model))))
(warn "wrong number of arguments"
n-supplied
(error-irritant/noise char:newline)