Re: [Vala] Valac doesn't shows errors, but assertion `_name != NULL' failed failed









I did some comment&recompile test, and found that this is happening because those two properties in 
src/Player.vala:
public PlaybackStatus playback_status {
           owned get { return LoopStatus.from_up_low_string (p.PlaybackStatus); }
}
public LoopStatus loop_status { 
    owned get { return LoopStatus.from_up_low_string (p.LoopStatus);  }
}

each one has same syntax error(owned in value types).
However, vala should inform the user for this error, instead current output.
I've posted the bug here:
https://bugzilla.gnome.org/show_bug.cgi?id=656843
Sorry if I have mistaken the correct section. Just don't know where "compiler" goes to.

Tal

From: tal_hd hotmail com
To: vala-list gnome org
Date: Thu, 18 Aug 2011 18:53:25 +0300
Subject: [Vala] Valac doesn't shows errors, but assertion `_name != NULL' failed failed

 
I'm trying to write some library, using GNU autotools,  but valac complains:
** (valac:23077): CRITICAL **: vala_ccode_identifier_construct: assertion `_name != NULL' failed
 
** (valac:23077): CRITICAL **: vala_ccode_identifier_construct: assertion `_name != NULL' failed
(yes it's twice)
It just gives me two warning about unused methods, but other than that none.
My valac is 0.12.1. Any one knows why it happens? Is this a known bug?
The work is attached to mail. To reproduce it type in the main dir:
./autogen
make
 
Tal
                                          

_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list                                                              
                    


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]