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
lexical packages leak into SETTING:: #5143
Comments
From @LLFournWhen a package already exists in an outer scope, any package declared will This leads to a number of problems and inconsistencies. I believe it will https://6guts.wordpress.com/2016/02/09/a-few-words-on-perl-6-versioning-and-compatibility/ Some examples: ## 1 leak out of lexical scope ## 2 runtime symbol refers to something different to compile time symbol { ## 3 our scoped packages are not available for introspecting in # lib/Cool/Utils.pm # main.pl # This was one of the things I didn't consider ( and isn't tested in Another problem with our scoped packages inserting themselves into the What if a module like IO::Socket::SSL has 'use v6.c', so it never sees the use v6.d; If the 6.c-IO::Socket.WHO === 6.d-IO::Socket.WHO everything will be fine, The solution could be to create a special type of package used for |
@coke - Status changed from 'new' to 'open' |
From @cokeOn Thu Feb 18 18:38:20 2016, lloyd.fourn@gmail.com wrote:
Not all the original code still compiles; can you revisit the request with new examples showing the issue? -- |
From @LLFournI was missing a ')' on the last one. Should be: ## 3 our scoped packages are not available for introspecting in # lib/Cool/Utils.pm # main.pl ^ Should be Foo and Cool::Utils I heard that this and related issues might be solved by properly lexically http://irclog.perlgeek.de/perl6-dev/2016-08-15#i_13026138 But I dunno the details On Wed, Aug 24, 2016 at 4:47 AM Will Coleda via RT <
|
Migrated from rt.perl.org#127569 (status was 'open')
Searchable as RT127569$
The text was updated successfully, but these errors were encountered: