GNOME Bugzilla – Bug 669551
Added error when not exporting any namespaces for GIR
Last modified: 2012-02-08 10:08:07 UTC
GIR does not support exporting a file without any namespaces in it
Created attachment 206965 [details] [review] Added error when not exporting any namespaces for GIR
Review of attachment 206965 [details] [review]: Thanks for the patch. ::: codegen/valagirwriter.vala @@ +191,3 @@ + + if (our_namespaces.size == 0) + { This '{' must go on the line above. @@ +192,3 @@ + if (our_namespaces.size == 0) + { + Report.error (null, "Must export at least one namespace for GIR"); What about "No suitable namespace found to export for GIR" ?
Created attachment 207065 [details] [review] Added error when not exporting any namespaces for GIR
Review of attachment 207065 [details] [review]: It's apparently the same patch as above.
Created attachment 207072 [details] [review] Added error when not exporting any namespaces for GIR
I'm having good times with git, take 3.
Review of attachment 207072 [details] [review]: Thanks for the patch.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.