Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
January 16, 2015 [Issue 13982] D1: wrong template instantiation is not rejected | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13982 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> --- When I run it with dmd1: ----- C:\cbx\mars1>dmd foo DMD v1.077 DEBUG Enabled -v2 hints: foo.d(5): Error: template foo.temp2(T) does not match any function template declaration foo.d(5): Error: template foo.temp2(T) cannot deduce template function from argument types !()(char[],int) foo.d(21): Error: template instance foo.temp1!(int) error instantiating ----- Something is different between our versions of dmd1. -- |
January 16, 2015 [Issue 13982] D1: wrong template instantiation is not rejected | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13982 --- Comment #2 from Dicebot <public@dicebot.lv> --- Can you confirm that is also works with non-DEBUG version? -- |
January 16, 2015 [Issue 13982] D1: wrong template instantiation is not rejected | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13982 --- Comment #3 from Dicebot <public@dicebot.lv> --- Another difference is Linux64 vs Windows of course -- |
January 16, 2015 [Issue 13982] D1: wrong template instantiation is not rejected | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13982 --- Comment #4 from Walter Bright <bugzilla@digitalmars.com> --- Ah, it works on Windows. I tried it on Linux and got the error you did. Hence, there's something wrong specifically with the Linux version. -- |
January 17, 2015 [Issue 13982] D1: wrong template instantiation is not rejected | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13982 --- Comment #5 from github-bugzilla@puremagic.com --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6f83e0aeab95e1d1d5bc5ba1e82bbbb94d3da0c8 fix Issue 13982 - D1: wrong template instantiation is not rejected -- |
January 17, 2015 [Issue 13982] D1: wrong template instantiation is not rejected | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13982 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86_64 |All OS|Linux |All -- |
January 19, 2015 [Issue 13982] D1: wrong template instantiation is not rejected | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13982 --- Comment #6 from Dicebot <public@dicebot.lv> --- Thanks! -- |
Copyright © 1999-2021 by the D Language Foundation