Comparing version 1.0.14 to 1.0.15
@@ -66,3 +66,3 @@ 'use strict'; | ||
if (this.type && !this.returnValue) throw new _error.JungleError('retourne n\'a pas été appelé durant l\'exécution de la routine ' + this.name); | ||
if (this.type && this.type.name !== '<no value>' && !this.returnValue) throw new _error.JungleError('retourne n\'a pas été appelé durant l\'exécution de la routine ' + this.name); | ||
@@ -69,0 +69,0 @@ const res = this.returnValue; |
@@ -71,3 +71,3 @@ import {Ast} from './base.js' | ||
if (this.type && !this.returnValue) | ||
if (this.type && this.type.name !== '<no value>' && !this.returnValue) | ||
throw new JungleError('retourne n\'a pas été appelé durant l\'exécution de la routine ' + this.name) | ||
@@ -74,0 +74,0 @@ |
{ | ||
"name": "algo-lang", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "Algorithmic language interpreter (in French only for now)", | ||
@@ -5,0 +5,0 @@ "homepage": "https://bitbucket.org/lsystems/algo-lang/overview", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
486284