GNOME Bugzilla – Bug 601461
Vapi generation: No full namespace for default parameters when based on constant
Last modified: 2018-05-22 13:25:36 UTC
Assume this vapi: namespace Test { public const int ConstInt; } and this class: using Test; public class TestClass { public void TestMethod(int someInt = ConstInt) { } public static void main() { } } Generating a vapi of this class gives: public void TestMethod (int someInt = ConstInt); "ConstInt" makes no sense in this context, it should have been "Test.ConstInt" (or some using-statements).
Confirming.
*** Bug 634137 has been marked as a duplicate of this bug. ***
*** Bug 673025 has been marked as a duplicate of this bug. ***
-- 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/57.