]> git.ipfire.org Git - thirdparty/vala.git/commit
Add support for sealed classes in bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 16 Jun 2019 17:28:24 +0000 (19:28 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 19 Feb 2020 12:29:33 +0000 (13:29 +0100)
commitc16b665cb90c66c5ed8362fa70989bde1eaee272
tree6728eb7f02af42ac98166f5f0961aff4ee30eb07
parentc24a807efe5f06e04d6839a48521730d20769045
Add support for sealed classes in bindings

The "sealed" keyword was available and parsed for a long time. So simply
pick it up information and expose it in the AST.

Issue an error when it is used in vala source.

See https://gitlab.gnome.org/GNOME/vala/issues/278
libvaladoc/api/class.vala
tests/Makefile.am
tests/objects/sealed-abstract-class.test [new file with mode: 0644]
tests/objects/sealed-class.test [new file with mode: 0644]
tests/objects/sealed-compact-class.test [new file with mode: 0644]
vala/valaclass.vala
vala/valacodewriter.vala
vala/valagirparser.vala
vala/valaparser.vala