Example:
```
enum foo(int x) = x;
alias bar = foo!1;
pragma(msg, bar); // prints 1
pragma(msg, bar!2); // prints 2
```
`bar` is an alias to instantiated template (an `int` value), yet surprisingly it can also act as the template itself, and be re-instantiated. I'd expect the expression `bar!2` to produce a compilation error.
Comment #1 by robert.schadek — 2024-12-13T19:19:57Z