After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 536863 - Interfaces won't work with inherited properties
Interfaces won't work with inherited properties
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: general
0.3.x
Other All
: High enhancement
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks: 553569
 
 
Reported: 2008-06-05 18:31 UTC by Florian Brosch
Modified: 2008-06-22 22:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Florian Brosch 2008-06-05 18:31:44 UTC
using GLib;


public class Foo : Object {
	public int property {
		get; set;
	}

}


public interface Foobar {
	public abstract int property {
		get; set;
	}
}


public class Bar : Foo, Foobar {
	public static int main ( string[] args ) {
		return 0;
	}
}
Comment 1 Jürg Billeter 2008-06-09 21:26:20 UTC
Confirming, we also should support this scheme for interface methods.
Comment 2 Jürg Billeter 2008-06-22 22:23:27 UTC
2008-06-23  Jürg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala:
	* gobject/valaccodeclassbinding.vala:

	Support inherited interface implementation, fixes bug 536863

Fixed in r1631.