]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Transform cast from integer-type to boxed-type
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 May 2020 10:54:15 +0000 (12:54 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 May 2020 11:02:03 +0000 (13:02 +0200)
commitbb3c713152f6b48f87806a8aeccbb9add69ec0bf
tree88697905695d166d51b69bec826230fd4faa755f
parent2ae1698832e81a0ca46da91d882373c93b4ae0e0
vala: Transform cast from integer-type to boxed-type

Don't generate faulty c-code with results in segmentation faults.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/992
tests/Makefile.am
tests/basic-types/integers-boxed-cast.vala [new file with mode: 0644]
tests/generics/integer-type-cast.vala [new file with mode: 0644]
vala/valacastexpression.vala