## test case alias Seq(A...) = A; alias E = Seq!(int)[1]; ## output > /tmp/temp_7F1A9ABD98B0.d:2:1: Error: tuple index 1 exceeds 1 ## notes 1 does not exceeds 1, the diagnostic should use ">=" or "is over or equal"
smthg like "index `%d` is over or equal to the element count `%d`" would be better
@dkorpel created dlang/dmd pull request #14235 "Fix 23167 - inaccurate diagnostic for internal tuple bound violation" fixing this issue: - Fix 23167 - inaccurate diagnostic for internal tuple bound violation https://github.com/dlang/dmd/pull/14235
dlang/dmd pull request #14235 "Fix 23167 - inaccurate diagnostic for internal tuple bound violation" was merged into master: - 3c1931ce8446724d370f3516da2d7c2cbbb70e3a by Dennis Korpel: Fix 23167 - inaccurate diagnostic for internal tuple bound violation https://github.com/dlang/dmd/pull/14235