On Friday, 11 December 2020 at 11:36:05 UTC, vit wrote:
alias f1 = (string  ) {}

"string" isn't type, but name of variable with generic type:

alias f1 = (/*auto type*/ string) {}

This makes it clear, thanks!

Just checked that this fails as expected: alias f1 = (immutable(char)[]) {}

Reply via email to