firefly-compiler 0.4.83 → 0.4.84

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/core/Json.ff CHANGED
@@ -184,7 +184,7 @@ extend self: Json {
184
184
 
185
185
  index(key: Int): Json
186
186
  target js sync """
187
- return Array.isArray(self_) ? self_[key] ?? null : null;
187
+ return Array.isArray(self_) ? self_[key_] ?? null : null;
188
188
  """
189
189
 
190
190
  hasField(key: String): Bool
@@ -452,7 +452,7 @@ export function Json_field(self_, key_) {
452
452
 
453
453
  export function Json_index(self_, key_) {
454
454
 
455
- return Array.isArray(self_) ? self_[key] ?? null : null;
455
+ return Array.isArray(self_) ? self_[key_] ?? null : null;
456
456
 
457
457
  }
458
458
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly compiler",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.83",
7
+ "version": "0.4.84",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly language support",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.83",
7
+ "version": "0.4.84",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"