firefly-compiler 0.4.14 → 0.4.15

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
@@ -177,7 +177,7 @@ extend self: Json {
177
177
 
178
178
  isNull(): Bool
179
179
  target js sync """
180
- return typeof self_ === null;
180
+ return self_ === null;
181
181
  """
182
182
 
183
183
  field(key: String): Json
package/guide/Main.ff ADDED
@@ -0,0 +1,3 @@
1
+ nodeMain(system: NodeSystem) {
2
+ system.writeLine("Hello, World!")
3
+ }
@@ -313,7 +313,7 @@ throw new Error('Function internalCompare is missing on this target in async con
313
313
 
314
314
  export function Json_write(self_, indentation_ = ff_core_Option.None()) {
315
315
 
316
- return JSON.stringify(self_, null, space_.value_);
316
+ return JSON.stringify(self_, null, indentation_.value_);
317
317
 
318
318
  }
319
319
 
@@ -451,7 +451,7 @@ export function Json_isObject(self_) {
451
451
 
452
452
  export function Json_isNull(self_) {
453
453
 
454
- return typeof self_ === null;
454
+ return self_ === null;
455
455
 
456
456
  }
457
457
 
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.14",
7
+ "version": "0.4.15",
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.14",
7
+ "version": "0.4.15",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"