class X::Syntax::P5
ErrorsCollection

class X::Syntax::P5

Compilation error due to use of Perl-only syntax

class X::Syntax::P5 does X::Syntax { }

Syntax error thrown when some piece of code is clearly Perl, not Raku.

For example

for my $a (12{ };

dies with

===SORRY!===
This appears to be Perl code