forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lua: fix completion retrieval for cdata objects
Cdata objects cannot have an `__autocomplete` metamethod (it's our custom metamethod). To work this around, we should also lookup the `__autocomplete` method using an object's `__index` metamethod. Part of tarantool#9107 NO_CHANGELOG=<not a reported bug> NO_DOC=<bugfix>
- Loading branch information
1 parent
f267af2
commit 69216e2
Showing
2 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters