@xnoxs/flux-lang 4.0.8 → 4.1.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/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ---
9
9
 
10
+ ## [4.1.1] — 2026-07-02
11
+
12
+ ### Fixed
13
+ - **Parser: `fn name(): RetType:` with indented body now works** — `_isColonReturnType()` previously only returned `true` when NEWLINE or EOF followed the type annotation, causing `fn f(): String:` + indented body to throw "Unexpected token: COLON". The check now also accepts COLON as a valid end-of-annotation marker. The `fn f() -> String:` (arrow) syntax is unaffected.
14
+
15
+ ---
16
+
10
17
  ## [4.0.2] — 2026-06-28
11
18
 
12
19
  ### Fixed