Ticket #1013 (closed bug: wontfix)

Opened 5 years ago

Last modified 3 years ago

'undef' bareword shouldn't parse, but does

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

Description

This is wrong, per Pmichaud:

	$args<hll> := undef;

But it parses.

Change History

Changed 3 years ago by pmichaud

  • component changed from PCT to nqp

Changed 3 years ago by pmichaud

  • status changed from new to closed
  • resolution set to wontfix

I think I'll list this as "wontfix". NQP-rx is treating "undef" as a bareword here (e.g., like a class name), and since it's not set anywhere it likely ends up being a NULL PMC.

If this is still an issue for nqp-rx, please file a new ticket describing the desired behavior.

Pm

Note: See TracTickets for help on using tickets.