summaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md
index 087fbf85..743d6129 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,7 +1,16 @@
# changelog
-## 3.8.4
+## 3.9.0
* `NEW` goto implementation
+* `NEW` narrow the function prototype based on the parameter type
+ ```lua
+ ---@overload fun(a: boolean): A
+ ---@overload fun(a: number): B
+ local function f(...) end
+
+ local r1 = f(true) --> r1 is `A`
+ local r2 = f(10) --> r2 is `B`
+ ```
## 3.8.3
`2024-4-23`