[Vala] [Bug] Compact class as user data need to be passed as unowned
- From: Tal Hadad <tal_hd hotmail com>
- To: Vala Mail List <vala-list gnome org>
- Subject: [Vala] [Bug] Compact class as user data need to be passed as unowned
- Date: Fri, 27 Apr 2012 15:51:33 +0300
When I pass lambda method in non-static compact class method
block, I get this error:
error: duplicating SerializedVbo instance, use unowned variable or explicitly invoke copy method
The reason is that the compact class instance is in the user data,
but it's not marked as unowned.
Vala shell threat it as unowned.
Yours,
Tal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]