On Sun, 2011-10-16 at 01:00 +0200, Luca Bruno wrote: > On Sun, Oct 16, 2011 at 12:47 AM, Calvin Walton > <[email protected]>wrote: > Now I'm having some additional problems; the code > > > > public static void test(AnnotationList a) { > > foreach (unowned Annotation b in a) { > > test2(b); > > } > > } > > > > Is failing to compile, with the error: > > test.vala:5.35-5.36: error: duplicating AnnotationList instance, use > > unowned variable or explicitly invoke copy method > > foreach (unowned Annotation b in a) {
> That sounds like a bug, you can report it at bugzilla.gnome.org . For those following along at home, the bug can be found at https://bugzilla.gnome.org/show_bug.cgi?id=661876 Thanks for your help, Luca. -- Calvin Walton <[email protected]> _______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
