Is Lucee 5.4.3.2 supposed to support defining defa...
# lucee
d
Is Lucee 5.4.3.2 supposed to support defining default methods/functions in an Interface? It appears ACF 2018+ support this and some stuff I've read indicates that it should work in Lucee, but I can't find a way to get it to work. I always get errors like:
Copy code
component [component.path] does not implement the function [getdescription()] of the abstract component/interface [/path/to/interface.cfc]
Should I be able to define default functions in an interface?
z
what does the syntax look like?
d
I've tried like what Ortus Solutions indicates should work: https://modern-cfml.ortusbooks.com/cfml-language/components/interfaces I've also tried what Adobe says should work by using the
default
keyword: https://coldfusion.adobe.com/2018/07/default-function-in-interface/
a
@dswitzer looks like it's not implemented yet? https://luceeserver.atlassian.net/browse/LDEV-1835
d
@Adam Cameron, Thanks. I should have checked the bug tracker, I just was surprised that Ortus Solution says it works in Lucee (since they do a lot of Lucee development).
z
it's always @bdw429s fault, or @micha or mine 😉
😂 2