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

if with return in then without else explodes #4

Closed
asterite opened this issue Dec 30, 2012 · 0 comments
Closed

if with return in then without else explodes #4

asterite opened this issue Dec 30, 2012 · 0 comments

Comments

@asterite
Copy link
Member

def foo
if true
return Object.new
end
end

foo

@waj waj closed this as completed Dec 31, 2012
bcardiff added a commit to bcardiff/crystal that referenced this issue Jan 4, 2017
nobodywasishere pushed a commit to nobodywasishere/crystal that referenced this issue Sep 20, 2023
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