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

Add missing use statements in test file #12

Merged
merged 1 commit into from Dec 14, 2016
Merged

Conversation

niner
Copy link
Contributor

@niner niner commented Dec 10, 2016

The design of Perl 6 requires that use statements only have effect in a
lexical scope. Otherwise it's impossible to use different (versions of)
modules sharing a name in different parts of a program.

This means essentially that we need to explicitly use all modules we need
in a scope.

See https://gist.github.com/niner/70f7b46eefb7e22af78d896bea11efeb for
further information.

The design of Perl 6 requires that use statements only have effect in a
lexical scope. Otherwise it's impossible to use different (versions of)
modules sharing a name in different parts of a program.

This means essentially that we need to explicitly use all modules we need
in a scope.

See https://gist.github.com/niner/70f7b46eefb7e22af78d896bea11efeb for
further information.
@cjfields cjfields merged commit 1733a75 into cjfields:master Dec 14, 2016
@cjfields
Copy link
Owner

Thanks for the fix @niner !

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

Successfully merging this pull request may close these issues.

None yet

2 participants