Menu

Commit [r13036]  Maximize  Restore  History

An "object function" is no longer part of a class's dispatch table.

The grammar already marks these E_FTYPE_OBJECT and turns class lookup off
for them, but the code generator published every method the same way, so
a subclass's "object function sub" shadowed an inherited "function sub"
for ordinary instance calls. class.c now skips E_FTYPE_OBJECT in both
places it emits methods - memberFunctions[] and the
A4GL_add_datatype_function_i registrations - which leaves object
functions distinct from plain ones rather than a synonym for them.

Test 1818 passes. Suite: 1098 run, 23 failed, against 29 before today.

mikeaubury 2026-09-01

changed /aubit4glsrc/trunk/lib/liblex/lex_esqlc/class.c
/aubit4glsrc/trunk/lib/liblex/lex_esqlc/class.c Diff Switch to side-by-side view
Loading...