Comparing version 1.0.7 to 1.0.8
@@ -46,3 +46,3 @@ 'use strict'; | ||
const nbArgs = paramsDecls.reduce((acc, v) => acc + v.names.length, 0); | ||
if (nbArgs !== args.length) throw new _error.JungleError('la routine ' + this.name + ' prend ' + nbArgs + ' paramètre mais ' + routine.args.length + ' paramètres ont été fournis'); | ||
if (nbArgs !== args.length) throw new _error.JungleError('la routine ' + this.name + ' prend ' + nbArgs + ' paramètres mais ' + args.length + ' paramètres ont été fournis'); | ||
@@ -49,0 +49,0 @@ this.getOverVariables(paramsDecls, (variables, name, index) => { |
@@ -42,3 +42,3 @@ import {Ast} from './base.js' | ||
if (nbArgs !== args.length) | ||
throw new JungleError('la routine ' + this.name + ' prend ' + nbArgs + ' paramètre mais ' + routine.args.length + | ||
throw new JungleError('la routine ' + this.name + ' prend ' + nbArgs + ' paramètres mais ' + args.length + | ||
' paramètres ont été fournis') | ||
@@ -45,0 +45,0 @@ |
{ | ||
"name": "algo-lang", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"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
493240