Thread overview | |||||
---|---|---|---|---|---|
|
June 20, 2006 [Issue 213] New: template X is not a member of Y | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=213 Summary: template X is not a member of Y Product: D Version: 0.161 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: h3r3tic@mat.uni.torun.pl tmp8.d: ------- template Foo() { template blah() { alias x blah; } static int x; } struct Bar { mixin Foo mix; } void main() { typeof(Bar.blah!()) a; // error typeof(Bar.x) b; // ok } compile error: -------------- tmp8.d(13): template blah!() is not a member of Bar -- |
July 07, 2006 Re: [Issue 213] New: template X is not a member of Y | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | d-bugmail@puremagic.com schrieb am 2006-06-20: > http://d.puremagic.com/issues/show_bug.cgi?id=213 > template Foo() { > template blah() { > alias x blah; > } > static int x; > } > > struct Bar { > mixin Foo mix; > } > > void main() { > typeof(Bar.blah!()) a; // error > typeof(Bar.x) b; // ok > } > > > > compile error: > -------------- > > tmp8.d(13): template blah!() is not a member of Bar Added to DStress as http://dstress.kuehne.cn/run/t/template_40_A.d http://dstress.kuehne.cn/run/t/template_40_B.d http://dstress.kuehne.cn/run/t/template_40_C.d Thomas |
June 25, 2008 [Issue 213] template X is not a member of Y | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=213 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #1 from bugzilla@digitalmars.com 2008-06-24 20:46 ------- Works in dmd 1.031 and 2.015 -- |
Copyright © 1999-2021 by the D Language Foundation