[Issue 23999] Potentially Ambiguous Template Instatiation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 19 20:26:09 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23999

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com

--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
Integer literals are affected in the same way : 

```
class Foo(alias str) {
  enum STR = str;
}
class Bar {
  Foo!2LUNGS;
}
void main() {
  Bar p;
  pragma(msg, p.tupleof[0].stringof);
}   
```

--


More information about the Digitalmars-d-bugs mailing list