You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The Problem
When used in
GLOBAL
packageCLIENT::
fails withGLOBAL can have no client package
error. This is incorrect because code defined inGLOBAL
can be passed to a routine in another module:This ticket is an anchor for work in progress.
The text was updated successfully, but these errors were encountered: