Issues
- Can't call lambda that exists in static scopeLDEV-4792Michael Offner
- regression: static final member missing in componentLDEV-4484Resolved issue: LDEV-4484Pothys - MitrahSoft
- Regression: Invalid "member is set to final" error on static property when code changesLDEV-4469Resolved issue: LDEV-4469Pothys - MitrahSoft
- Static methods fail when called from an abstract classLDEV-4246Michael Offner
- static scope does no reset when extended Component changesLDEV-4212Resolved issue: LDEV-4212Pothys - MitrahSoft
- static.variable of the component only loads on creating an object to the componentLDEV-3903Resolved issue: LDEV-3903Michael Offner
- getComponentMetaData/getMetaData misses private and package static functions in lucee 5.3LDEV-3875Resolved issue: LDEV-3875Michael Offner
- Race condition in accessing component static member throws errorLDEV-3780Resolved issue: LDEV-3780Michael Offner
- support static final methodsLDEV-3683Michael Offner
- static test failingLDEV-3500Michael Offner
- Regression: inherited static variables no longer accessible in child componentsLDEV-3465Resolved issue: LDEV-3465Pothys - MitrahSoft
- getComponentMetaData omits static methods and propertiesLDEV-3362Resolved issue: LDEV-3362Pothys - MitrahSoft
- static function cannot be used with dot notationLDEV-3334Resolved issue: LDEV-3334Michael Offner
- Regression: Closure in static method calling another static method causes request to hang when run in parallelLDEV-3221Resolved issue: LDEV-3221Pothys - MitrahSoft
- Tag islands don't work in cfc functions which appear below a static functionLDEV-3184Michael Offner
- component looses static functionsLDEV-2932Resolved issue: LDEV-2932Michael Offner
- Regression: In Lucee 5.3.3, component Property function does not recognize variables defined at the top of that ComponentLDEV-2645Resolved issue: LDEV-2645Michael Offner
- Allow easy creation of a component using the static keyword.LDEV-1708Michael Offner
- Add onMissingStaticMethod for dynamic programmingLDEV-1707Michael Offner
- Dumping getComponentStaticScope() of component with remote static function causes java.lang.NullPointerExceptionLDEV-1513Resolved issue: LDEV-1513Pothys - MitrahSoft
- getCurrentTemplatePath is invalid in static functionsLDEV-1431Michael Offner
- Calling static function will suppress output after calledLDEV-1231Resolved issue: LDEV-1231Michael Offner
- Static methods in super components can't be called within a componentLDEV-1227Resolved issue: LDEV-1227Michael Offner
- Inability to refer to CFC's with static data in a dynamic wayLDEV-1221Michael Offner
- Static constructor is executed twice in componentsLDEV-1032Resolved issue: LDEV-1032Michael Offner
- Static method keyword should include Java-style warning when used incorrectlyLDEV-894
- Static scope corruption caused by inheritanceLDEV-835Resolved issue: LDEV-835Michael Offner
- Dump error for static members with no access modifierLDEV-600Resolved issue: LDEV-600Michael Offner
- Add support to access local static scope using self::LDEV-560
- Stack overflow creating object instance while in the static constructorLDEV-554Resolved issue: LDEV-554Michael Offner
- Static members cannot be output when component output=falseLDEV-313Resolved issue: LDEV-313Michael Offner
- Static constructor incorrectly triggeredLDEV-300Resolved issue: LDEV-300
- add support for "shorthand" static constructorLDEV-277
- Static constructor not supported in tag-based CFCsLDEV-269Resolved issue: LDEV-269
- Static variable values seem to occasionally "reset"LDEV-265Resolved issue: LDEV-265Michael Offner
- Inability to refer to static members dynamicallyLDEV-255Resolved issue: LDEV-255Michael Offner
- Static is ignored in interfacesLDEV-253Resolved issue: LDEV-253
- static method syntax doesn't work as advertisedLDEV-248Resolved issue: LDEV-248
Can't call lambda that exists in static scope
Description
Details
Assignee
Michael OffnerMichael OffnerReporter
David RogersDavid RogersLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Priority
New
Details
Details
Assignee
Reporter
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Priority
Activity
Pothys - MitrahSoft27 May 2024 at 15:18
I’ve checked this ticket still an issue with Lucee latest version 6.1.0.158-SNAPSHOT.
Pothys - MitrahSoft4 March 2024 at 15:54Edited
It depends on the syntax using to call the lambda in the static scope.
While trying to access the lambda using test::func(); lucee search the func named udf in the static scope (not a static member) and throws error like .....provide the error from the lucee here.....
So we need to use the syntax to call the member from the static scope
dump(test::func) // works
x = test::func;
dump(x()) // call the lambda function
dump((test::func)());
So this is way lucee is working now. I moved the ticket to Incompatibility from bug.
Any thought on this.
5.4.4.38