pointed this out on slack last night and I updated docs https://github.com/lucee/lucee-docs/pull/848
I had just copied the logic from the local docs, which just drops the first argument, rather than checking the member position value and applying it
https://github.com/lucee/Lucee/blob/5.3/core/src/main/cfml/context/doc/objects.cfm#L149
http://127.0.0.1:8888/lucee/doc/objects.cfm?item=datetime.diff
https://docs.lucee.org/reference/objects/datetime/diff.html
from
arrayLen for exmaple doesn’t have a member-position defined
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/fld/core-base.fld#L676
but it still is defined in the metadata
https://trycf.com/gist/711126f090c15a05fdaa7413d9efe4bf/lucee5?theme=monokai
BTW the debug output uses this, it uses member position
https://github.com/lucee/Lucee/blob/5.3/core/src/main/cfml/context/debug/modern/reference.cfm#L118
I've added a fix for this ticket. Now local lucee docs uses it's correct member position for object methods
Pull Request: https://github.com/lucee/Lucee/pull/1105
ok to set to resolve?
yep, works for me