https://bugzilla.gdcproject.org/show_bug.cgi?id=265
Bug ID: 265 Summary: [rejects-valid] Name resolution clash (vs dmd) Product: GDC Version: 6.x Hardware: All OS: All Status: NEW Severity: normal Priority: Normal Component: gdc Assignee: ibuc...@gdcproject.org Reporter: sebastien.alai...@gmail.com class C { int f(int i) { import std.stdio; return lines[i].lag; } S[] lines; static struct S { int lag; } } Here's what I got with dmd: $ dmd test.d -c && echo ok ok $ gdc test.d -c && echo ok test.d:6:17: error: no [] operator overload for type lines return lines[i].lag; ^ Seems like std.stdio is interfering. -- You are receiving this mail because: You are watching all bug changes.