diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-03-26 12:02:35 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-03-26 12:02:35 +0800 |
| commit | df262171918e6ecc241bff6cfcf81b097ec00533 (patch) | |
| tree | 336203cffe33145610b3510601f39d9427e4b16b /src/3rdParty/efsw/platform | |
| parent | ad0cd3a39d5d77ec32d2f203c7258f727a06ba6e (diff) | |
| download | yuescript-df262171918e6ecc241bff6cfcf81b097ec00533.tar.gz yuescript-df262171918e6ecc241bff6cfcf81b097ec00533.tar.bz2 yuescript-df262171918e6ecc241bff6cfcf81b097ec00533.zip | |
fix: empty table pattern in switch generates valid Lua code
- Add EmptyTableType enum to distinguish [] and {} patterns
- [] (empty list) generates '#x == 0' check
- {} (empty table) generates 'next(x) == nil' check
- Fixes issue #249
Diffstat (limited to 'src/3rdParty/efsw/platform')
0 files changed, 0 insertions, 0 deletions
