Skip to content

Set the newly created Struct object to self in its initialization block.#1889

Merged
matz merged 2 commits intomruby:masterfrom
iij:pr-struct-new-block-def
Mar 18, 2014
Merged

Set the newly created Struct object to self in its initialization block.#1889
matz merged 2 commits intomruby:masterfrom
iij:pr-struct-new-block-def

Conversation

@tsahara
Copy link
Copy Markdown
Member

@tsahara tsahara commented Mar 18, 2014

fix #1858.

matz added a commit that referenced this pull request Mar 18, 2014
Set the newly created Struct object to self in its initialization block.
@matz matz merged commit 2f4eed2 into mruby:master Mar 18, 2014
@tsahara tsahara deleted the pr-struct-new-block-def branch March 26, 2014 06:55
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.

def in block argument of Struct.new defines a top-level procedure

2 participants