Skip to content
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

require Foo; does not replace package with proper class #1865

Open
zoffixznet opened this issue May 24, 2018 · 1 comment
Open

require Foo; does not replace package with proper class #1865

zoffixznet opened this issue May 24, 2018 · 1 comment

Comments

@zoffixznet
Copy link
Contributor

https://irclog.perlgeek.de/perl6/2018-05-24#i_16202885

e: BEGIN 'sandbox/Foo.pm6'.IO.spurt: 'unit class Foo;'; use lib <sandbox>; require Foo; say Foo.HOW.^name
evalable6 	Zoffix, rakudo-moar 154d98551: OUTPUT: «Perl6::Metamodel::PackageHOW␤»

I thought it meant to be the PackageHOW just between compilation and runtime and then require would replace it with ClassHOW thing.

Is this a bug that it doesn't, or is my understanding wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants