Ticket #1507 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

VTABLE_init_int does not work on key constants

Reported by: dukeleto Owned by:
Priority: normal Milestone:
Component: none Version: 2.1.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: all

Description

parrot_shell 2> $P0 = new 'FixedStringArray', 5
say $P0
.
Time: 0.0164859 wallclock secs
Output:
[ "", "", "", "", "" ]

parrot_shell 3> $P0 = new ['FixedStringArray'], 5
say $P0
.
Error: child exited with value 1
Time: 0.0155749 wallclock secs
Output:
init_pmc() not implemented in class 'FixedStringArray'
current instr.: 'main' pc 0

Change History

Changed 5 years ago by dukeleto

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

chromatic++ fixed this in r44866 and I added tests in r44868

Note: See TracTickets for help on using tickets.