]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Don't make GenericType nullable by default
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 13 Apr 2023 18:36:08 +0000 (20:36 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 14 Apr 2023 07:14:11 +0000 (09:14 +0200)
commitb42c4b54a3589cffcab9dcce603c82728bcd82d0
treedbd833d214300b7306a57340a180b8c6e2b7d94e
parentcff2e6e470efae1f4e178ab13cb2b3d5dde502c3
vala: Don't make GenericType nullable by default

Allow equality between nullable and non-nullable generic-types for now

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1191
13 files changed:
tests/Makefile.am
tests/generics/foreach-iterator-nullable.c-expected [new file with mode: 0644]
tests/generics/foreach-iterator-nullable.vala [new file with mode: 0644]
tests/girwriter/GirTest-1.0.gir-expected
tests/girwriter/girtest.vala
tests/girwriter/girtest.vapi-expected
tests/nullability/generics-invalid.test [new file with mode: 0644]
tests/nullability/generics.c-expected [new file with mode: 0644]
tests/nullability/generics.vala [new file with mode: 0644]
vala/valadatatype.vala
vala/valagenerictype.vala
vala/valamemberaccess.vala
vala/valasymbolresolver.vala