
[Bind] Work around VS bug by ensuring pointer parameters are generated last
Posted Tuesday, 11 August, 2009 - 20:44 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 1.0-beta-2 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
VS2008 (and possibly VS2005) suffer from a bug where the order of function overloads affects how many overloads are visible on intellisense. For example this order:
void Foo(int[] bar); void Foo(ref int bar); void Foo(int* bar);
will display all three methods on intellisense. However, moving the pointer to the top will result in only two overloads being visible on intellisense:
void Foo(int* bar); void Foo(int[] bar); void Foo(ref int bar);
The binding generator used to ensure the first order in all cases, however a recent commit changed methods to be in alphabetic order in all cases.


Comments
#1
Fixed committed 1.0 branch and trunk (r2532).
#2
Closing issues fixed in 1.0 beta-2.