codegen: Fix look-up of next closure block
commita90b9d2e467ab77ccef7bcd6c26f310cda3b6f2f
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 2 Apr 2011 08:09:10 +0000 (2 10:09 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 2 Apr 2011 13:46:10 +0000 (2 15:46 +0200)
tree490152135452a9592911c1a19d84a68eddf17c3f
parentc46029863c2c87b6c4feed662fd3f1ed79b14501
codegen: Fix look-up of next closure block

Methods that are not closures don't capture parent blocks.

Fixes bug 646345.
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/methods/bug646345.vala [new file with mode: 0644]