https://d.puremagic.com/issues/show_bug.cgi?id=12093
Summary: bad error message: Error: no [] operator overload for
type Tuple!(string, string)
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Timothee Cour <[email protected]> 2014-02-06
18:43:32 PST ---
void main(){
import std.algorithm;
auto a="".findSplitBefore(" ");
auto b0=a[0]; // OK
auto b1=a[2]; // Error: no [] operator overload for type Tuple!(string,
string)
}
should be: out of bound error
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------