Skip to content
16 lines (10 sloc) 454 Bytes
use v6;
use Test;
plan 8;
# L<S11/"Compile-time Importation"/"In the absence of a specific scoping specified by the caller">
use OuterModule :ALL;
is(foo(), 'Inner::foo', 're-exporting works using is export(:DEFAULT)');
is(bar(), 'Inner::bar', 're-exporting works using is export');
is(baz(), 'Inner::baz', 're-exporting works using is export(:MANDATORY)');
# is(qux(), 'Inner::qux', 're-exporting works using is export(:sometag)');
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.