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
module objects badly behaved for type checks #4854
Comments
From zefram@fysh.org
CORE is a module object; other module objects behave similarly. As shown -zefram |
From @lizmatZefram,
thanks for submitting these tickets! Some further data points: This seems to apply to any variable type and any PseudoStash: $ 6 'my Str $a = MY; say $a' Oddly enough, binding *does* fail with a typecheck error: $ 6 'my Str $a := GLOBAL' Liz |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgElizabeth Mattijsen via RT wrote:
Further generalisation: it also happens for any package object (GLOBAL, -zefram |
It looks like these are indeed two different problems. The first problem (package objects or role objects bypassing the type constraint checks) seems to be solved:
According to The second problem (
|
Migrated from rt.perl.org#126891 (status was 'open')
Searchable as RT126891$
The text was updated successfully, but these errors were encountered: