Skip to content

check accepts 'x' + if ... that mx check rejects with CE0117 #1710

Closed

Description

@GlennCorvers

What happens: declare $L String = 'x' + if $c then 'a' else 'b'; passes mxcli check, but mx check fails with CE0117.
Expected: the expression checker matches mx check, or at least warns on an if-expression without parentheses used as an operand.
Version: 0.28.0. Still the case in 0.29.0: mxcli check says "Syntax OK" and "Check passed!".

Mendix 11.12.4.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions