View Issue Details

IDProjectCategoryView StatusLast Update
0000771LDMud 3.5LPC Languagepublic2018-01-30 04:59
Reporter_xtian_ Assigned ToGnomi  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform3.5OSlinux 
Fixed in Version3.5.0 
Summary0000771: private public void fun() is legal
DescriptionThe parser accepts "private public" as function modifier.
Even in strict_type and strong_type pragmas.
TagsNo tags attached.

Activities

zesstra

2011-02-11 00:19

administrator   ~0001964

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.)

_xtian_

2011-04-27 05:54

reporter   ~0002049

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.

zesstra

2018-01-28 22:31

administrator   ~0002296

Fix committed in revision 3dec4517cd33d0b26a93e4de77f736c135d45ce4 to master branch (see changeset 1180 for details). Thank you for reporting!

Gnomi

2018-01-29 19:59

manager   ~0002303

Fix committed in revision 3dec4517cd33d0b26a93e4de77f736c135d45ce4 to master branch (see changeset 1244 for details). Thank you for reporting!

Gnomi

2018-01-29 22:57

manager   ~0002354

Fix committed in revision 3dec4517cd33d0b26a93e4de77f736c135d45ce4 to master branch (see changeset 2568 for details). Thank you for reporting!

Gnomi

2018-01-30 04:59

manager   ~0002405

Fix committed in revision 3dec4517cd33d0b26a93e4de77f736c135d45ce4 to master branch (see changeset 2461 for details). Thank you for reporting!

Issue History

Date Modified Username Field Change
2011-02-09 15:04 _xtian_ New Issue
2011-02-11 00:19 zesstra Note Added: 0001964
2011-02-19 21:08 zesstra Project LDMud => LDMud 3.5
2011-04-27 05:54 _xtian_ Note Added: 0002049
2015-02-07 00:53 Gnomi Assigned To => Gnomi
2015-02-07 00:53 Gnomi Status new => assigned
2017-09-30 18:08 Gnomi Status assigned => resolved
2017-09-30 18:08 Gnomi Resolution open => fixed
2017-09-30 18:08 Gnomi Fixed in Version => 3.5.0
2018-01-28 22:31 Source_changeset_attached => ldmud.git master 3dec4517
2018-01-28 22:31 zesstra Note Added: 0002296
2018-01-29 19:59 Gnomi Source_changeset_attached => ldmud.git master 3dec4517
2018-01-29 19:59 Gnomi Note Added: 0002303
2018-01-29 22:57 Gnomi Source_changeset_attached => ldmud.git master 3dec4517
2018-01-29 22:57 Gnomi Note Added: 0002354
2018-01-30 04:59 Gnomi Source_changeset_attached => ldmud.git master 3dec4517
2018-01-30 04:59 Gnomi Note Added: 0002405