D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4159 - in expression parsed as template
Summary: in expression parsed as template
Status: RESOLVED DUPLICATE of issue 5785
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Linux
: P2 normal
Assignee: No Owner
URL:
Keywords: diagnostic, rejects-valid
Depends on:
Blocks:
 
Reported: 2010-05-05 14:08 UTC by Kyle Foley
Modified: 2015-06-09 05:11 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kyle Foley 2010-05-05 14:08:10 UTC
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 kennytm 2011-07-14 00:46:04 UTC

*** This issue has been marked as a duplicate of issue 5785 ***