@Fibonacci:
There is a simple solution to all these internal errors that you seem to be reporting lately ... simply do not write such code
But in all seriousness, thank you for putting your mind to these things.
Is (or should) such use (the use of a constant) of generic specialization actually be allowed ? (I actually have no idea)