You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in perl version 2017.04.3-287-g3e7675a built on MoarVM version
2017.04-64-g6d5ea04
implementing Perl 6.c I see the following error;
t/120-Decimal128.t .. ===SORRY!=== Error while compiling
/home/marcel/Languages/Perl6/Projects/BSON/lib/BSON/Decimal128.pm6
(BSON::Decimal128)
Attribute $!sstring not declared in class BSON::Decimal128
at /home/marcel/Languages/Perl6/Projects/BSON/lib/BSON/Decimal128.pm6
(BSON::Decimal128):92
This is a writing error of course of attribute $!string. The line
number however, was at the end of the module and not at the (first)
location where it is used.
in perl version 2017.04.3-287-g3e7675a built on MoarVM version
2017.04-64-g6d5ea04
implementing Perl 6.c I see the following error;
t/120-Decimal128.t .. ===SORRY!=== Error while compiling
/home/marcel/Languages/Perl6/Projects/BSON/lib/BSON/Decimal128.pm6
(BSON::Decimal128)
Attribute $!sstring not declared in class BSON::Decimal128
at /home/marcel/Languages/Perl6/Projects/BSON/lib/BSON/Decimal128.pm6
(BSON::Decimal128):92
This is a writing error of course of attribute $!string. The line
number however, was at the end of the module and not at the (first)
location where it is used.
Fixing this would involve remembering where an attribute was first mentioned, as this is fully legal:
class A { method a { $!a }; has $!a }
aka, specifying the attribute *after* it was mentioned. So it wouldn’t know it wasn’t defined until it hit the end of the class.
Migrated from rt.perl.org#131333 (status was 'open')
Searchable as RT131333$
The text was updated successfully, but these errors were encountered: