Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Align error messages for calling non-callable values
'pcall(foo)' message was "attempt to call a table value", while 'pcall(function () foo() end) message was "global 'foo' is not callable".
- Loading branch information
1 parent
d205f3a
commit 5148954
Showing
1 changed file
with
37 additions
and
11 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