summaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index e6ecca52..8e329946 100644
--- a/changelog.md
+++ b/changelog.md
@@ -23,6 +23,12 @@
local x = true
local y = x--[[@as integer]] -- y is `integer` here
```
+* `NEW` add `---@cast`
+ * `---@cast localname type`
+ * `---@cast localname +type`
+ * `---@cast localname -type`
+ * `---@cast localname +?`
+ * `---@cast localname -?`
* `NEW` generic: resolve `T[]` by `table<integer, type>` or `---@field [integer] type`
* `NEW` resolve `class[1]` by `---@field [integer] type`
* `NEW` diagnostic: `missing-parameter`