Advertisement
rotrevrep

Untitled

Aug 26th, 2016
1,132
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using MyNS;
  2.  
  3. // ...
  4.  
  5. public void load_from_uri (string uri, MyClass encoding = MyClass.utf8) throws GLib.Error {
  6. // ...
  7. }
  8.  
  9. /* valac compiles this code without problems. but namespace is missing from generated vapi :
  10. ** (valac:23817): CRITICAL **: vala_data_type_compatible: assertion 'self != NULL' failed
  11. ** (valac:23817): CRITICAL **: vala_code_node_to_string: assertion 'self != NULL' failed
  12. mee-json-2.0.vapi:164.72-164.84: error: Cannot convert from `(null)' to `MyNS.Encoding'
  13.             public void load_from_uri (string uri, MyNS.MyClass encoding = MyClass.utf8) throws GLib.Error {
  14. */
Advertisement
RAW Paste Data Copied
Advertisement