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

[WIP] Incorrect behaviours of CORE:: and CLIENT:: pseudo-packages #3104

Closed
vrurg opened this issue Aug 6, 2019 · 1 comment
Closed

[WIP] Incorrect behaviours of CORE:: and CLIENT:: pseudo-packages #3104

vrurg opened this issue Aug 6, 2019 · 1 comment
Assignees
Labels
WIP Work In Progress, do not merge (yet)

Comments

@vrurg
Copy link
Member

vrurg commented Aug 6, 2019

The Problem

When used in GLOBAL package CLIENT:: fails with GLOBAL can have no client package error. This is incorrect because code defined in GLOBAL can be passed to a routine in another module:

module Foo {
    sub foo (&c) is export {
        c
    }
}
import Foo;
sub bar(Str:D $s) {
    say CLIENT::.WHAT
}
foo(&bar)

This ticket is an anchor for work in progress.

@vrurg vrurg added the WIP Work In Progress, do not merge (yet) label Aug 6, 2019
@vrurg vrurg self-assigned this Aug 6, 2019
vrurg added a commit to vrurg/rakudo that referenced this issue Aug 6, 2019
There is no reason for limiting its use in GLOBAL package.

rakudo#3104
@vrurg
Copy link
Member Author

vrurg commented Aug 6, 2019

Closed via #3105 and Raku/roast#564

@vrurg vrurg closed this as completed Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work In Progress, do not merge (yet)
Projects
None yet
Development

No branches or pull requests

1 participant