]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Return CCodeInvalidExpression instead of null
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 13 Apr 2023 06:25:02 +0000 (08:25 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 13 Apr 2023 06:48:53 +0000 (08:48 +0200)
commit0b2e7537e5575f1daabb37e93b5f74c78fd29eff
tree9b069b851fe5aef11865538d77cb9009ce6659c9
parent5abae64280233454d784c46e0d32804d05ad2aeb
codegen: Return CCodeInvalidExpression instead of null

This fixes the following criticals:

  vala_ccode_cast_expression_construct: assertion 'expr != NULL' failed
  vala_ccode_function_call_add_argument: assertion 'expr != NULL' failed

Remove dead code, this is already handled in get_dup_func_expression()
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/semantic/interface-prerequisite-missing-class.test [new file with mode: 0644]