close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 20 years ago

Closed 19 years ago

Last modified 18 years ago

#217 closed defect (remind)

A variable's name can start with a number and only be a number

Reported by: danirus Owned by: danirus
Priority: highest Milestone:
Component: Kernel Version: head
Severity: major Keywords:
Cc:

Description

It doesn't need more information.
It is a very old mistake in the Tol's scanner, but now I've decided to report
it... at last!

You can see it in action with this funny (but dangerous) code:

_
Real 1 = 10;
Real a = 1 + 1;

The result is a variable Real "a" with value 20.

Change History (3)

comment:1 Changed 19 years ago by Víctor de Buen Remiro

Resolution: remind
Status: newclosed

Bug happens no longer althougth Real 1 object will be created sending a "deprecated" warning

comment:2 Changed 19 years ago by danirus

Hi Víctor, I know we are showing a message, in fact I did it.

Cheers

comment:3 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://www.tol-project.org
Note: See TracTickets for help on using tickets.