Ticket #1051 (closed todo: invalid)

Opened 12 years ago

Last modified 12 years ago

[TODO] NQP should report use of undeclared variable

Reported by: pmichaud Owned by: pmichaud
Priority: normal Milestone:
Component: nqp Version: 1.6.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

(From RT #48445):

When an NQP program uses a variable that hasn't been previously declared, it should report a useful error message:

Use of undeclared variable '$x' at ...

Pm

Change History

Changed 12 years ago by pmichaud

  • status changed from new to assigned

Changed 12 years ago by jimmy

  • status changed from assigned to closed
  • resolution set to invalid

compilers/nqp is no longer around. And I didn't see the same issue in NQP-rx.

Changed 12 years ago by coke

FYI, with parrot-nqp you get an error like:

Symbol '@foo' not predeclared in <anonymous>
Note: See TracTickets for help on using tickets.