]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Use CCodeConstant for member access of constant symbol
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Nov 2021 17:55:38 +0000 (18:55 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Nov 2021 19:00:17 +0000 (20:00 +0100)
commitf1a8f2a4c6771124abd61fd0ebfa991c846575fe
tree148af84a95acc4a7c5237fc99d9c03823852488e
parent1f28a5dbd75d5ae5c5883a77468f800b86cd1855
codegen: Use CCodeConstant for member access of constant symbol

This broke assumptions in CCodeBaseModule.is_constant_ccode_expression()
codegen/valaccodememberaccessmodule.vala
tests/Makefile.am
tests/control-flow/switch-string.c-expected
tests/semantic/field-constant.c-expected [new file with mode: 0644]
tests/semantic/field-constant.vala [new file with mode: 0644]