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

merges class symbols into stub when using require stub:file<> #2789

Merged
merged 1 commit into from Mar 25, 2019

Conversation

Projects
None yet
2 participants
@tony-o
Copy link
Collaborator

commented Mar 23, 2019

This fixes:perl6/roast#522

Usage:

Pre pull request

BEGIN: './A.pm6'.IO.spurt: 'class A { method a() { return 1; }   } ';

require STUB:file('./A.pm6'.IO.absolute);

say STUB::.keys; # Grepper

Post pull request

BEGIN: './A.pm6'.IO.spurt: 'class A { method a() { return 1; }   } ';

require STUB:file('./A.pm6'.IO.absolute);

say STUB::.keys; # Grepper, A

my $new-a = STUB::<A>.new;
$new-a.a; # returned 1

@ugexe ugexe merged commit 17c9d88 into rakudo:master Mar 25, 2019

1 of 2 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.