Skip to content

Expression with negative value failed to compile #12

Description

@Raccoonwao

spel2js failed to compile expression with negative value
version: 0.2.6

test('test', () => {
    let c = spel2js.SpelExpressionEvaluator.compile('1.0 > -5000.0')  // fail to compile
    console.log(c);
})

// test failed
// Cannot read property 'setParent' of undefined

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions