]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Set error and return early on invalid index in ElementAccess
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 18 Feb 2020 15:35:21 +0000 (16:35 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 18 Feb 2020 16:19:39 +0000 (17:19 +0100)
commit94911d12799c38f95fa5c1a531304ec9c6f136fe
treee21ab19606699fd850297665764241c2f53af49b
parent27fc5a83788c29a684241dd424dcb179e78b5e49
vala: Set error and return early on invalid index in ElementAccess

This caused criticals like:

  vala_code_node_check: assertion 'self != NULL' failed
tests/Makefile.am
tests/semantic/element-access-index-invalid.test [new file with mode: 0644]
vala/valaelementaccess.vala