GNOME Bugzilla – Bug 669550
Warn when exporting classes from the global namespace in GIR
Last modified: 2018-05-22 14:21:17 UTC
Adds a warning when trying to export classes from the global namespace when writing a GIR
Created attachment 206964 [details] [review] Warn when exporting classes from the global namespace in GIR
Review of attachment 206964 [details] [review]: Thanks for the patch. Anyway, this warning is unfixable if one really wants to not export that class. What's the problem with silently bailing out?
Well, I'm trying to use GIR and I find it quite hard to find problems if vala is not complaining about some features that I didn't realize were not supported in GIR. So I think it's nice if users get more information on what could or could not be exported correctly in the GIR file.
Created attachment 207064 [details] [review] Warn when exporting classes from the global namespace in GIR
Sorry, that patch is not actually updated, my mistake.
(In reply to comment #2) > Thanks for the patch. Anyway, this warning is unfixable if one really wants to > not export that class. What's the problem with silently bailing out? It may make sense to support something like [GIR (skip = true)].
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/280.