hispano-lang 2.1.1 → 2.1.2

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/evaluator.js CHANGED
@@ -2411,6 +2411,8 @@ class Environment {
2411
2411
  * @param {any} value - Variable value
2412
2412
  */
2413
2413
  define(name, value) {
2414
+ // Remove from constants if it was previously defined as one
2415
+ this.constants.delete(name);
2414
2416
  this.values[name] = value;
2415
2417
  }
2416
2418
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hispano-lang",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Un lenguaje de programación educativo en español para enseñar programación sin barreras de idioma",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",