]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Treat negative integer/float ranks as non-compatible
authorValeri Ochinski <v19930312@gmail.com>
Sat, 9 Dec 2023 12:29:31 +0000 (15:29 +0300)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 28 Jan 2024 15:10:09 +0000 (16:10 +0100)
commit4eecbc518a62cbb25865dc8f5e026b9fe5ed2585
tree06b99a30a7649238b434da2dcbf0a55b814e5313
parent9adf4bf61a22a6ad57ce84d1b5bb704c2527dc02
vala: Treat negative integer/float ranks as non-compatible

This allows to improve type safety for handle types.
tests/Makefile.am
tests/basic-types/integer-negative-rank-incompatible.test [new file with mode: 0644]
tests/basic-types/integer-negative-rank-incompatible2.test [new file with mode: 0644]
tests/basic-types/integer-negative-rank-incompatible3.test [new file with mode: 0644]
tests/basic-types/integers-negative-rank.c-expected [new file with mode: 0644]
tests/basic-types/integers-negative-rank.vala [new file with mode: 0644]
vala/valadatatype.vala