diff options
author | Simon Werbeck <simon.werbeck@gmail.com> | 2014-11-26 11:53:31 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-12-07 10:12:31 +0100 |
commit | 73b9e4b4a2c059ceb6bce7ab173050fb70739892 (patch) | |
tree | 17051cc41398da06721d46dd93c1bc806c64ade0 /vala/valatemplate.vala | |
parent | 241b058ebc4979f55daf5febce44277d50a6c909 (diff) | |
download | vala-73b9e4b4a2c059ceb6bce7ab173050fb70739892.tar.gz |
Improve constructor chain-up checks
The only valid expressions for chaining up are:
* this[.named] ()
* base[.named] ()
* Object () - for GObject style chain-ups
This patch should prevent invalid chain-ups such as:
* Foo.named (), where Foo is not a valid base class
* (new Foo ()) (), i.e. invoking expressions that return an object
In preparation to fixing bug 567269, is_chainup() was turned into a
property.
Diffstat (limited to 'vala/valatemplate.vala')
0 files changed, 0 insertions, 0 deletions