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

Wrong return value from "require" #4548

Closed
p6rt opened this issue Sep 18, 2015 · 4 comments
Closed

Wrong return value from "require" #4548

p6rt opened this issue Sep 18, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Sep 18, 2015

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

Searchable as RT126100$

@p6rt
Copy link
Author

p6rt commented Sep 18, 2015

From @moritz

S11 says​:

Additionally, the |require| expression evaluates to the value which is
installed as the alias, so that |(require Foo​::Bar).new| and similar
expressions do the most useful thing.

but that doesn't seem to work in rakudo 2015.09​:

moritz@​hack​:~/p6/DBIish$ perl6-m -Ilib -e ' say (require
:​:("DBDish​::mysql"))'
True

@p6rt
Copy link
Author

p6rt commented Nov 21, 2015

From @FROGGS

Patch​: rakudo/rakudo@95558bb58e
Tests​: Raku/roast@ff452eb56a

Closing as resolved.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Nov 21, 2015

From @FROGGS

Patch​: rakudo/rakudo@95558bb58e
Tests​: Raku/roast@ff452eb56a

Closing as resolved.

@p6rt p6rt closed this as completed Nov 21, 2015
@p6rt
Copy link
Author

p6rt commented Nov 21, 2015

@FROGGS - Status changed from 'new' to 'resolved'

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