Skip to content

Implicit multiplication parsing is inconsistent between negative and postive numbers #727

@tetslee

Description

@tetslee

math.parse('2 2') throws a SyntaxError.
math.parse('-2 2') parses to -2 * 2.

It would be better if '-2 2' threw a SyntaxError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions