June 07, 2022 [Issue 23167] New: inaccurate diagnostic for internal tuple bound violation | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23167 Issue ID: 23167 Summary: inaccurate diagnostic for internal tuple bound violation Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic Severity: minor Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: b2.temp@gmx.com ## 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" -- |
Copyright © 1999-2021 by the D Language Foundation