May 08, 2019 [Issue 19852] New: value.[args] evaluation to opSlice.[args] should be removed | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19852 Issue ID: 19852 Summary: value.[args] evaluation to opSlice.[args] should be removed Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ilyayaroshenko@gmail.com value.[args] should evaluates to value.opIndex(args) according to the spec. opSlice is very old behavior. Currently, the compiler tries first to evaluate to opIndex, and if it fails, to opSlice. The problem is complitely useless error messages. -- |
Copyright © 1999-2021 by the D Language Foundation