After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 601461 - Vapi generation: No full namespace for default parameters when based on constant
Vapi generation: No full namespace for default parameters when based on constant
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: general
0.35.x
Other All
: High normal
: ---
Assigned To: Vala maintainers
Vala maintainers
: 634137 673025 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-11-10 22:15 UTC by Jan-Jaap van der Geer
Modified: 2018-05-22 13:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan-Jaap van der Geer 2009-11-10 22:15:29 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).
Comment 1 Jürg Billeter 2010-03-21 22:24:45 UTC
Confirming.
Comment 2 Allison Karlitskaya (desrt) 2011-04-17 17:44:36 UTC
*** Bug 634137 has been marked as a duplicate of this bug. ***
Comment 3 Rico Tzschichholz 2017-03-09 09:41:21 UTC
*** Bug 673025 has been marked as a duplicate of this bug. ***
Comment 4 GNOME Infrastructure Team 2018-05-22 13:25:36 UTC
-- 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.