]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Enforce "return yield ..." syntax to be expected 898e45a6ff6129fc5c674af48118042dd64123ff
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 22 Sep 2018 12:44:40 +0000 (14:44 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 22 Sep 2018 14:28:33 +0000 (16:28 +0200)
commit898e45a6ff6129fc5c674af48118042dd64123ff
tree9d87af16507e5710862eeeca57696ca922341e36
parentce7c31eaff13fcd8c2da7a0d52deb8f97043df24
vala: Enforce "return yield ..." syntax to be expected

"yield return ..." wasn't handled correctly and resulted in broken c-code.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/675
codegen/valagasyncmodule.vala
tests/Makefile.am
tests/parser/yield-return.test [new file with mode: 0644]
vala/valacodewriter.vala
vala/valagenieparser.vala
vala/valaparser.vala
vala/valayieldstatement.vala