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.
Files changed (2) hide show
  1. package/dist/simpl.js +1 -1
  2. 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 !== null) continue;
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}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bahasa-simpl",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "Bahasa pemrograman mini berbasis kata bahasa Indonesia",
5
5
  "exports": {
6
6
  ".": {