On Dec 21, 2007 8:50 AM, Klaas-Jan Stol <[EMAIL PROTECTED]> wrote:
> On Dec 21, 2007 3:53 PM, Allison Randal <[EMAIL PROTECTED]> wrote:
>
> > Klaas-Jan Stol via RT wrote:
> > > On Sun Dec 16 21:11:34 2007, coke wrote:
> > >> From PDD 19:
> > >>
> > >> NOTE: The use of C<::> in identifiers is deprecated.
> > >>
> > > what exactly does this mean?
> > >
> > > I take it that "::" can still appear in typenames, as in "PAST::Op"
> >
> > Yes, that's still fine. In fact, any character that can be represented
> > in any character set that Parrot supports is valid in string names.
> >
> > > but
> > > not, for instance like so:
> > >
> > > local int some::var
> > >
> > > Is that it?
> >
> > Yes, it's deprecated in bare identifiers. The '::' was added as a
> > special case for Perl identifiers, so we either had to add special cases
> > for all the languages, or just declare that if you want a sub, class,
> > etc. with "interesting" characters you need to give it a string name.
>
>
> there are some tests that explicitly use this feature; don't remember which
> ones, but I found some yesterday. I guess these tests can be removed (as
> their sole purpose is to test something that's going to be removed)
>
> so, shall I remove those tests?
>
yes, as long as that's what they're testing. that's a normal part of
deprecation.
~jerry

Reply via email to