View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000771 | LDMud 3.5 | LPC Language | public | 2011-02-09 14:04 | 2018-01-30 03:59 |
Reporter | _xtian_ | Assigned To | Gnomi | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | 3.5 | OS | linux | ||
Fixed in Version | 3.5.0 | ||||
Summary | 0000771: private public void fun() is legal | ||||
Description | The parser accepts "private public" as function modifier. Even in strict_type and strong_type pragmas. | ||||
Tags | No tags attached. | ||||
|
I did not look into details, but I expect the private in 'private public' takes precedence... Although its quite ridiculous. BTW: the compiler also accepts 'private static' which is AFAIK also completely senseless. (But I maybe wrong.) |
|
In my mind "private public" should just not compile. On the other hand I have often seen "private static" functions - a misconception some programmers take from other programming languages - so here it might be better just to throw a warning. |
|
Fix committed in revision 3dec4517cd33d0b26a93e4de77f736c135d45ce4 to master branch (see changeset 1180 for details). Thank you for reporting! |
|
Fix committed in revision 3dec4517cd33d0b26a93e4de77f736c135d45ce4 to master branch (see changeset 1244 for details). Thank you for reporting! |
|
Fix committed in revision 3dec4517cd33d0b26a93e4de77f736c135d45ce4 to master branch (see changeset 2568 for details). Thank you for reporting! |
|
Fix committed in revision 3dec4517cd33d0b26a93e4de77f736c135d45ce4 to master branch (see changeset 2461 for details). Thank you for reporting! |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-09 14:04 | _xtian_ | New Issue | |
2011-02-10 23:19 | zesstra | Note Added: 0001964 | |
2011-02-19 20:08 | zesstra | Project | LDMud => LDMud 3.5 |
2011-04-27 03:54 | _xtian_ | Note Added: 0002049 | |
2015-02-06 23:53 | Gnomi | Assigned To | => Gnomi |
2015-02-06 23:53 | Gnomi | Status | new => assigned |
2017-09-30 16:08 | Gnomi | Status | assigned => resolved |
2017-09-30 16:08 | Gnomi | Resolution | open => fixed |
2017-09-30 16:08 | Gnomi | Fixed in Version | => 3.5.0 |
2018-01-28 21:31 | Source_changeset_attached | => ldmud.git master 3dec4517 | |
2018-01-28 21:31 | zesstra | Note Added: 0002296 | |
2018-01-29 18:59 | Gnomi | Source_changeset_attached | => ldmud.git master 3dec4517 |
2018-01-29 18:59 | Gnomi | Note Added: 0002303 | |
2018-01-29 21:57 | Gnomi | Source_changeset_attached | => ldmud.git master 3dec4517 |
2018-01-29 21:57 | Gnomi | Note Added: 0002354 | |
2018-01-30 03:59 | Gnomi | Source_changeset_attached | => ldmud.git master 3dec4517 |
2018-01-30 03:59 | Gnomi | Note Added: 0002405 |