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 556881 - public static abstract methods :)
public static abstract methods :)
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Parser
0.3.x
Other All
: Normal normal
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-18 21:18 UTC by Marc-Andre Lureau
Modified: 2008-10-25 07:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marc-Andre Lureau 2008-10-18 21:18:28 UTC
Vala let you write something like that, but that produce invalid C code without error...

interface Test {
	public static abstract void test ();
}

the test is added to vala-tests
Comment 1 Jürg Billeter 2008-10-25 07:44:26 UTC
2008-10-25  Jürg Billeter  <j@bitron.ch>

	* vala/valaparser.vala:

	Report error when using virtual method modifiers for static
	methods, fixes bug 556881

Fixed in r1913.