[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1125: procedures allow to pick the same name for
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1125: procedures allow to pick the same name for different arguments |
Date: |
Thu, 19 Nov 2015 14:10:17 -0000 |
#1125: procedures allow to pick the same name for different arguments
------------------------+--------------------
Reporter: certainty | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 4.11.0
Component: compiler | Version: 4.9.x
Resolution: | Keywords:
------------------------+--------------------
Comment (by sjamaan):
My initial thought was to add the check to {{{decompose-lambda-list}}},
but then you have two problems:
- The compiler calls this many times, so you would get spammed with
warnings.
- The DSSSL lambda list conversion happens before calling this, so you
wouldn't see the original lambda form, unless we pass that in as an extra
argument of course.
If you move this into the {{{##sys#expand-extended-lambda-list}}}, it
would only work for regular lambda lists, not {{{receive}}}, {{{define-
inline}}}, {{{define-values}}} and so on.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1125#comment:5>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- Re: [Chicken-janitors] #1125: procedures allow to pick the same name for different arguments,
Chicken Trac <=