Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 08, 2013 [Issue 9479] New: _error_ in error message of type inference of a delegate literal | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9479 Summary: _error_ in error message of type inference of a delegate literal Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: clugdbug@yahoo.com.au --- Comment #0 from Don <clugdbug@yahoo.com.au> 2013-02-08 02:41:29 PST --- int delegate() bug9479() { return { return something_undefined; }; } bug.d(4): Error: undefined identifier something_undefined bug.d(4): Error: mismatched function return type inference of _error_ and int The second error message should be suppressed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 08, 2013 [Issue 9479] _error_ in error message of type inference of a delegate literal | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=9479 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |andrej.mitrovich@gmail.com AssignedTo|nobody@puremagic.com |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-08 11:17:00 PST --- https://github.com/D-Programming-Language/dmd/pull/1648 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 09, 2013 [Issue 9479] _error_ in error message of type inference of a delegate literal | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=9479 --- Comment #2 from github-bugzilla@puremagic.com 2013-02-09 07:23:15 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0d5a3ba6fe1665ab5739f1afe202e9b9c3ee4d79 Fixes Issue 9479 - Suppress mismatch of return type when return expression is an error. https://github.com/D-Programming-Language/dmd/commit/bd11999d75cf5c945c13da50a340863620f3f01b Merge pull request #1648 from AndrejMitrovic/Fix9479 Issue 9479 - Suppress mismatch of return type diagnostic when return expression is an error -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 09, 2013 [Issue 9479] _error_ in error message of type inference of a delegate literal | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=9479 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED 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