]> 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 16:03:14 +0000 (18:03 +0200)
commit9ef2bab5346970cb114aafbf3f77d155aba6833d
tree1ed89d8837b321e9ded06d137953cef9f52e283c
parent79f1fd381dd9f004ce0acbb38e3fb03988e3605f
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]