August 17, 2010 [Issue 4663] New: Wrong 'static' position error message | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4663 Summary: Wrong 'static' position error message Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2010-08-17 07:10:48 PDT --- Compiling this program with dmd 2.048: void main() { void foo() static {} } I receive the errors: test.d(2): semicolon expected following function declaration test.d(2): basic type expected, not { test.d(2): no identifier for declarator int test.d(2): semicolon expected, not '{' Maybe storage classes can't be written on the right side, but I'd like a better error message here. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 28, 2012 [Issue 4663] Wrong 'static' position error message | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=4663 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-27 18:08:41 PST --- Similar to Issue 4946 but maybe not a duplicate since that one involves template constraints. -- 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