← Back to index
|
Original Bugzilla link
Bug 4159 – in expression parsed as template
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-05-05T14:08:00Z
Last change time
2015-06-09T05:11:41Z
Keywords
diagnostic, rejects-valid
Assigned to
nobody
Creator
k-foley
Comments
Comment #0
by k-foley — 2010-05-05T14:08:10Z
DMD 2.045 int main(string[] args) { int[int] f; struct S { int t; } S w; if ( w.t !in f ) {} return 0; } --- $ rdmd inexpr.d inexpr.d(6): template argument expected following !
Comment #1
by kennytm — 2011-07-14T00:46:04Z
*** This issue has been marked as a duplicate of issue 5785 ***