Opened 6 years ago

Closed 6 years ago

#193 closed defect (fixed)

warnings printed on console by Perl6 parser

Reported by: szabgab Owned by: azawawi
Priority: major Milestone:
Component: plugins Version: 0.22
Keywords: perl6 Cc:

Description

given the following perl 5 code

my $x;
$x = defined $x ? $x : 'DEFAULT VALUE';
print "$x\n";                             # DEFAULT VALUE

and trying to use it as perl 6 code I get the correct warning
but it is on the console instead of the output window
(or maybe also in the error window)

STD.pm Parsing error
############# PARSE FAILED #############
Obsolete use of ?: for the conditional operator; in Perl 6 please use ??!! instead at (eval) line 6:
------> $x = defined $x ? $x : 'DEFAULT VALUE';

Change History (2)

comment:1 Changed 6 years ago by azawawi

  • Owner set to azawawi
  • Status changed from new to accepted

comment:2 Changed 6 years ago by azawawi

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in Padre::Plugin::Perl6 v0.015

Thanks,
Ahmad

Note: See TracTickets for help on using tickets.