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

Guard Kernel.#catch without block from segfault #855

Merged
merged 1 commit into from Oct 24, 2015
Merged

Guard Kernel.#catch without block from segfault #855

merged 1 commit into from Oct 24, 2015

Conversation

kachick
Copy link
Member

@kachick kachick commented Oct 24, 2015

☻  bin/topaz -e 'catch :s'
[1]    36899 segmentation fault  bin/topaz -e 'catch :s'

last of untranslated

File "topaz/modules/kernel.py", line 441, in method_catch
  return space.invoke_block(block, [])
File "topaz/objspace.py", line 648, in invoke_block
  bc = block.bytecode
AttributeError: 'NoneType' object has no attribute 'bytecode'

ruby-1.9.3p551

☻  ruby -e 'catch :s'
-e:1:in `catch': no block given (LocalJumpError)

alex added a commit that referenced this pull request Oct 24, 2015
Guard Kernel.#catch without block from segfault
@alex alex merged commit 4ec45fe into topazproject:master Oct 24, 2015
@kachick kachick deleted the segfault-kernel-catch branch October 24, 2015 15:35
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