Commit c14926c
committed
Fix the module define logic, handles missing base and numbers in the loaded module
I think Lua internals return a number sometimes which breaks all sorts,
so we want to ignore nil and numbers, everything else is fair game (like
tables, functions and strings)1 parent 2147163 commit c14926c
File tree
4 files changed
+8
-3
lines changed- fnl
- nfnl
- spec/nfnl
- lua
- nfnl
- spec/nfnl
4 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments