--- Comment #4 from Kenji Hara <> 2011-08-27 07:15:29 PDT ---
My thought case is following code.

void foo()(int n){} // 1
void foo()(enum {a, b} arg) {} // 2

void main() {
  int a;
  foo(a);  // 1 or 2 ?

To determine the signature of foo, 'a' is judged as integer typed variable, and
1st foo overload is selected. 2nd version of foo is never selected.
And this is natural behavior guided from the current specification.

But this enhancement is require to determine foo's signature *before* argument
types. This is a serious conflict.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to