@thigasdevelopment/luam 0.18.2 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/lua/class.lua +1 -1
- package/luam.mjs +514 -165
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -275,12 +275,12 @@ VSCodium and Windsurf. The language server itself is editor-agnostic and speaks
|
|
|
275
275
|
|
|
276
276
|
## Known limitations
|
|
277
277
|
|
|
278
|
-
- **Narrowing
|
|
279
|
-
|
|
278
|
+
- **Narrowing follows a path, not an alias.** `if self.value ~= nil then` refines
|
|
279
|
+
the field inside the block; storing the test in a variable does not carry it.
|
|
280
280
|
- **A class is a type everywhere, a value from its declaration** — `extends` may
|
|
281
281
|
name a parent written further down, a top-level `new` may not.
|
|
282
282
|
- **The MTA catalog can lag a release** — a newer function stays `any`.
|
|
283
|
-
- **No
|
|
283
|
+
- **No declared metamethods or generic classes.**
|
|
284
284
|
- **The editor re-checks by declaration** — a declaration change re-analyzes every
|
|
285
285
|
file that can see it, an edit inside a function body only its own file.
|
|
286
286
|
- **An export is named, never verified** against the side that calls it.
|
package/lua/class.lua
CHANGED