Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion B::CC uses same names for lexical variables and temporary values
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Reini Urban  
View profile  
 More options Aug 17 2010, 10:22 am
From: Reini Urban <rur...@x-ray.at>
Date: Tue, 17 Aug 2010 16:22:56 +0200
Local: Tues, Aug 17 2010 10:22 am
Subject: Re: [perl-compiler] B::CC uses same names for lexical variables and temporary values
2010/8/17 Heinz Knutzen <heinz.knut...@gmx.de>:

> Am I supposed to add a comment like this to issue 35?
> Should it be sent to the mailing list as well?

Into the issue is better.

If it's of general interest to the list.

>> > This does not smell right since the new names should start with i_ or
>> > d_ for consistency.

>> > d_tmp5 sounds better than d5_tmp

>> Only adding a number as suffix doesn't solve the problem.
>> If some name itselfs ends with a number we could get duplicates again.
>> Example:
>> x11 -> x111
>> x -> x2
>> ...
>> y -> y10
>> x1 -> x111

>> Because of this problem I proposed to add the number after the starting
>> "d" or "i".

Hmm, okay then.

>> But if you don't like that we should add it as suffix, but separated with
>> "_":
>> $name = "$name_$ix";

I see.
tmp names are not affected because they have no name, but named lexicals are.
So we'll also have to add  a test case also where have a named pad
with such a nameclash.

What is your google account name btw?
--
Reini


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.