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

Invalid return value of nil? #265

Closed
monaka opened this issue Jun 12, 2012 · 3 comments
Closed

Invalid return value of nil? #265

monaka opened this issue Jun 12, 2012 · 3 comments

Comments

@monaka
Copy link
Contributor

monaka commented Jun 12, 2012

$ ruby -e 'p nil?'
false
$ bin/mruby -e 'p nil?'
true
@matz
Copy link
Member

matz commented Jun 12, 2012

Because currently we use nil as a top-level self.
This will be resolved soon.

@monaka
Copy link
Contributor Author

monaka commented Sep 3, 2012

$ bin/mruby -e 'p nil?'
#<FalseClass:0x100000001>
$ ruby -e 'p nil?'
false

It seems this issue was fixed. But format is not same between cruby1.8 and mruby. Is this by specification?

@monaka
Copy link
Contributor Author

monaka commented Oct 26, 2012

What I commented above is fixed by 27f0024. So I close this issue. Thanks.

@monaka monaka closed this as completed Oct 26, 2012
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

2 participants