Closed Dieschdel closed 1 year ago
Btw. I am using teal version 0.14.1 (via luarocks) if this is relevant
@SimonLeibfritz I'm happy to report that this is already fixed in the master
branch (which you can access with luarocks install --dev tl
)! The fixed behavior will land in the next stable release.
Amazing! Thanks for the info, works like a charm. And sorry for not reading the patch notes beforehand ;).
The Issue seems to occur if multiple members of the same table share the same generic identifier and call each other.
Here is a minimal working example
The line
return MyObj.do_something(array)
will fail to build with the following error messageI can fix this, by renaming the generic identifier of
test_fails
to something other thanT
For example:
The issue does not occur when using global or local functions (i.e. when not defining them as a member of the same table).
Is this intended behaviour, or am I doing something wrong?