digitalmars.D.bugs - [Issue 2227] New: Error forbidding a function template instantiation is not reported
- d-bugmail puremagic.com (37/37) Jul 15 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2227
- d-bugmail puremagic.com (9/9) Jul 16 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2227
- d-bugmail puremagic.com (6/6) Dec 02 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2227
- d-bugmail puremagic.com (12/12) May 06 2010 http://d.puremagic.com/issues/show_bug.cgi?id=2227
http://d.puremagic.com/issues/show_bug.cgi?id=2227 Summary: Error forbidding a function template instantiation is not reported Product: D Version: 2.017 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: samukha voliacable.com template Bar(T) { alias typeof(T.ini) Bar; // an error hidden deep in a nested template; } template Foo(T) { alias Bar!(T) Foo; } void foo(T)(Foo!(T) x) { } void main() { foo!(int)(2); } ---- test.d(19): template test.foo(T) does not match any function template declaration test.d(19): template test.foo(T) cannot deduce template function from argument types !(int)(int) D 1.0 reports the error in Bar as expected: test.d(5): Error: no property 'ini' for type 'int' test.d(10): template instance test.Bar!(int) error instantiating --
Jul 15 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2227 samukha voliacable.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major Raising the severity because this issue considerably complicates the debugging of templates --
Jul 16 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2227 maxmo pochta.ru changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |regression --
Dec 02 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2227 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug yahoo.com.au Resolution| |FIXED Fixed DMD 2.038. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 06 2010