New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null PMC access when accessing an enum element in an enum with double colons in its name in Rakudo #1448
Comments
From @masak<masak> rakudo: enum A::B <a b c>; say b |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S12-enums/basic.t commit 617050ace6fa545d39f257d3cae0d013939ad779 [t/spec] Test for RT 71460: Null PMC access Inline Patchdiff --git a/t/spec/S12-enums/basic.t b/t/spec/S12-enums/basic.t
index eb4b91d..9c1a4aa 100644
--- a/t/spec/S12-enums/basic.t
+++ b/t/spec/S12-enums/basic.t
@@ -1,6 +1,6 @@
use v6;
use Test;
-plan 32;
+plan *;
# Very basic enum tests
@@ -99,4 +99,12 @@ dies_ok({ my Color $c3 = "for the fail" }, 'enum as a type enforces checks');
ok Color.pick(2) == 2, '.pick(2) on enums';
}
+#?rakudo skip 'RT 71460: Null PMC access'
+{
+ enum RT71460::Bug <rt71460 bug71460 ticket71460>;
+ is bug71460, 1, 'enum element of enum with double colons is in namespace';
+}
+
+done_testing;
+
# vim: ft=perl6 |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Sun Dec 20 07:48:08 2009, masak wrote:
This already has tests, which are passing un-fudged! Closing ticket. -- |
@coke - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#71460 (status was 'resolved')
Searchable as RT71460$
The text was updated successfully, but these errors were encountered: