Skip to content

Shouldn't this work? #4

@gap777

Description

@gap777

Wrapping an expression in parenthesis seems to cause what otherwise is valid to be invalid:

(3 + Pow(2, 3))

In MathEvaluator.TryComma(), _nestedFunctionDepth (which is 1) < _nestedGroupDepth (which is 2).

What's the purpose of that particular assertion/check? What is it trying to guard against?

Can you think of a code change to support this expression?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions