removed an optimization that obscures the names in contracted functions

svn: r7379
This commit is contained in:
Robby Findler 2007-09-18 15:48:28 +00:00
parent 13e706e817
commit d9cb743afc

View File

@ -171,7 +171,8 @@
(with-syntax ([outer-lambda
(let* ([lst (syntax->list #'args)]
[len (and lst (length lst))])
(if (and lst
(if (and #f ;; this optimization disables the names so is turned off for now
lst
(not (syntax-e #'use-any?))
(= len (length (syntax->list #'(dom-names ...))))
(= 1 (length (syntax->list #'(rng-names ...))))