bahasa-simpl 1.0.20 → 1.0.21
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/dist/simpl.js +1 -1
- package/package.json +1 -1
package/dist/simpl.js
CHANGED
|
@@ -934,7 +934,7 @@ class Interpreter {
|
|
|
934
934
|
let type = callable.parameters[i][0];
|
|
935
935
|
|
|
936
936
|
if (type === null) continue;
|
|
937
|
-
if (args[i].data
|
|
937
|
+
if (args[i].data === null) continue;
|
|
938
938
|
if (args[i].type !== type) {
|
|
939
939
|
this.line = callLineNum;
|
|
940
940
|
this.error(`Tipe argumen tidak sama dengan parameter. Menemukan ${args[i].type.description}, harusnya ${type.description}`);
|