[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: |
Sat, 02 Aug 2014 13:38:43 -0000 |
#1125: procedures allow to pick the same name for different arguments
------------------------+---------------------------------------------------
Reporter: certainty | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 4.10.0
Component: compiler | Version: 4.9.x
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment(by sjamaan):
I think it's best to make this behave the same as LET and other binding
constructs. Right now that gives a warning when it detects a variable
being bound multiple times. Unfortunately, I think we can't do it at this
level because this complicates things a lot when considering DSSSL lambda
lists.
Also, the LET warning is kind of useless because it doesn't show the line
number. So perhaps this should be moved elsewhere. It could be put in
compiler.scm/eval.scm, but that complicates those already very complex
handlers even more. I'm not sure about the best solution for this.
Felix, if you're reading this, maybe you have an idea?
--
Ticket URL: <http://bugs.call-cc.org/ticket/1125#comment:2>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Chicken-janitors] #1125: procedures allow to pick the same name for different arguments,
Chicken Trac <=