I don't know. The one in std.exception is probably due to an array being used as a condition for enforce.
Yep, that's not nice. From what I can see the warning in the template constraint is ignored, and so the call succeeds. I don't know how to force a failure there with a warning.
