gelang 0.1.5 → 0.1.6

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
@@ -53,7 +53,7 @@ All notable changes to GE. Format follows
53
53
  single-flavour files; `.ts.ge.py` is accepted as a legacy alias.
54
54
  - Build root defaults to `build/` (was `ge_build/`).
55
55
  - Package name on npm is `gelang`.
56
- ## [0.1.5] — 2026-09-13
56
+ ## [0.1.6] — 2026-09-13
57
57
 
58
58
  ### Zig is now a full backend
59
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gelang",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "One typed source language, compiled to Rust, C++, C#, Zig, Go, or Kotlin — chosen per function. Generates Flutter and React UIs from one DSL.",
5
5
  "keywords": [
6
6
  "ge",
@@ -31,6 +31,10 @@ SPEC = Spec(
31
31
  range_step_call="({lo}..{hi}).Step({step})",
32
32
  len_call="{x}.Length",
33
33
  list_len="{x}.Count",
34
+ # Dictionary and HashSet expose Count, not Length; len()
35
+ # fell back to len_call and emitted an invalid member.
36
+ dict_len="{x}.Count",
37
+ set_len="{x}.Count",
34
38
  print_int='Console.WriteLine({v})',
35
39
  print_float='Console.WriteLine({v})',
36
40
  print_str='Console.WriteLine({v})',