Skip to content

v2.0-dev ifCommand.debug failed numerous debug tests #18

@cassitly

Description

@cassitly

The debug file has outputted many errors. ifCommand has failed most tests. In v2.0-dev

Error evaluating condition: x > 10
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
x is not greater than 10
Error evaluating condition: x === 11
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
x is not equal to 11
Error evaluating condition: x < 9
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
x is bigger than 9
Error evaluating condition: percentage === 11%
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
percentage isn't equal to 11%
Error evaluating condition: boolean
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
boolean is false
Error evaluating condition: decimal === 0.1
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
decimal isn't equal to 0.1
Error evaluating condition: decimal > 0.1
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
decimal isn't greater than 0.1
Error evaluating condition: decimal < 0.1
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
decimal is bigger than 0.1
Error evaluating condition: boolean
TypeError: getVariables is not a function
    at C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:11:35
    at String.replace (<anonymous>)
    at safeEval (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\safeEval.js:9:45)
    at Object.parseIfStatement (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\modules\functions\IfStatementHandler.js:19:36)
    at ifCommand (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\patches\v1.9\modules\if.js:4:19)
    at compiler (C:\Users\jedik\Documents\GitHub\Project Next\Products\NextLanguage\NextLanguage-Source\package\interpreter.js:111:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
boolean is false

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions