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

Require 'use nqp;' for userspace code that uses nqp:: features #3666

Closed
p6rt opened this issue Feb 4, 2015 · 4 comments
Closed

Require 'use nqp;' for userspace code that uses nqp:: features #3666

p6rt opened this issue Feb 4, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Feb 4, 2015

Migrated from rt.perl.org#123728 (status was 'resolved')

Searchable as RT123728$

@p6rt
Copy link
Author

p6rt commented Feb 4, 2015

From @pmichaud

Some Perl 6 module writers have been putting nqp​:: calls into their code, as the setting does. While nqp​:: is not necessarily strictly limited to Rakudo -- other implementations can certainly emulate the nqp​:: space -- we should not allow the use of nqp​:: to become standard practice for Perl 6.

So, this ticket is a placemarker to build in a requirement that any use of nqp​:: calls outside of the CORE setting requires a "use nqp;" declaration to be in scope.

I would not want to see "use nqp;" declaration(s) in the core setting itself (the core setting lexically encompasses user mainline) -- I'd prefer for nqp​:: to be enabled in the setting by some external flag.

Pm

@p6rt
Copy link
Author

p6rt commented Feb 10, 2015

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jun 18, 2015

From @stmuk

This was done in Rakudo 2015.04

On Wed Feb 04 07​:33​:06 2015, pmichaud wrote​:

Some Perl 6 module writers have been putting nqp​:: calls into their
code, as the setting does. While nqp​:: is not necessarily strictly
limited to Rakudo -- other implementations can certainly emulate the
nqp​:: space -- we should not allow the use of nqp​:: to become standard
practice for Perl 6.

So, this ticket is a placemarker to build in a requirement that any
use of nqp​:: calls outside of the CORE setting requires a "use nqp;"
declaration to be in scope.

I would not want to see "use nqp;" declaration(s) in the core setting
itself (the core setting lexically encompasses user mainline) -- I'd
prefer for nqp​:: to be enabled in the setting by some external flag.

Pm

@p6rt
Copy link
Author

p6rt commented Jun 18, 2015

@hoelzro - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jun 18, 2015
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

No branches or pull requests

1 participant