GNOME Bugzilla – Bug 771964
regression in 0.34: support for abstract methods with generics
Last modified: 2016-09-27 13:26:11 UTC
Created attachment 336241 [details] testcase for abstract method with generic Hi, The attached testcase code worked flawlessly with vala 0.32, but no longer works with vala 0.34. This breaks at least the freesmartphone.org stack, which makes heavy use of abstract methods in combination with generics. The problem has been introduced by https://mail.gnome.org/archives/commits-list/2016-July/msg02876.html as far as I can see. -- Sebastian Downstream Bug-Report: https://bugs.debian.org/838829
commit dadf2b48d4da3f1afd95991bec4d4179e231b010 Author: Jürg Billeter <j@bitron.ch> Date: Mon Sep 26 19:07:17 2016 +0200 Fix type parameter check for overriding generic methods https://bugzilla.gnome.org/show_bug.cgi?id=771964 Reported-by: Sebastian Reichel <sre@ring0.de>
Can you again build the fso stack with vala master with this fix or do you see further issues?
I will have a look at it tomorrow.
Ok. I just found some time to do it and the FSO core libraries build sucessfully with the patch. Thanks for taking care of it.
Great, thanks for verifying. The patch is now also in the 0.34 branch.
This patch introduce an API change, If I'm not wrong. If so this should be stated and release as soon as possible, just if this change is absolutely necessary, I thing.