mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 13:40:11 +03:00
Add supplemental location error for missing operator overload
This commit is contained in:
parent
8c64740e6e
commit
4ccb01fde5
3 changed files with 33 additions and 20 deletions
|
@ -6,6 +6,7 @@ fail_compilation/fail_arrayexp.d(25): Error: cannot use `[]` operator on express
|
|||
fail_compilation/fail_arrayexp.d(26): Error: static array of `const(int)[]` with multiple lengths not allowed
|
||||
fail_compilation/fail_arrayexp.d(27): Error: only one index allowed to index `string`
|
||||
fail_compilation/fail_arrayexp.d(28): Error: no `[]` operator overload for type `U`
|
||||
fail_compilation/fail_arrayexp.d(16): `fail_arrayexp.U` declared here
|
||||
fail_compilation/fail_arrayexp.d(29): Error: only one index allowed to index `(int, string)`
|
||||
---
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue