Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 05, 2013 [Issue 9880] New: Redundant template instance displaying in error message | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9880 Summary: Redundant template instance displaying in error message Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: minor Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-04 21:57:37 PDT --- This invalid code: void foo(T)(int) if (is(T == int)) {} void main() { alias f = foo!string; } Outputs: test.d(2): Error: template instance foo!(string) foo!(string) does not match template declaration foo(T)(int) if (is(T == int)) "foo!(string)" is displayed twice - it's redundant. Should be: test.d(2): Error: template instance foo!(string) does not match template declaration foo(T)(int) if (is(T == int)) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 05, 2013 [Issue 9880] Redundant template instance displaying in error message | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9880 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-04 22:03:42 PDT --- https://github.com/D-Programming-Language/dmd/pull/1845 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 05, 2013 [Issue 9880] Redundant template instance displaying in error message | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9880 --- Comment #2 from github-bugzilla@puremagic.com 2013-04-05 03:34:20 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3021471e3600a01c8175389dbdde8238bb154332 fix Issue 9880 - Redundant template instance displaying in error message https://github.com/D-Programming-Language/dmd/commit/c43d21983cc646cb24389b35a208e9fbe50ac7c0 Merge pull request #1845 from 9rnsr/fix9880 Issue 9880 - Redundant template instance displaying in error message -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 05, 2013 [Issue 9880] Redundant template instance displaying in error message | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9880 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich@gmail.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation