X Tutup
Skip to content

[beta.16 regression] Issue with safe-navigation operator #8235

@QuentinFchx

Description

@QuentinFchx

Steps to reproduce and a minimal demo of the problem
There is a priority conflict between ! and ? operators
http://plnkr.co/edit/WXYy2FwfoGCW9lbYW6cM?p=preview

Current behavior
!foo?.length => !(foo == null)? null : foo.length

Expected/desired behavior
!foo?.length => !((foo == null)? null : foo.length)

Other information
It was working with beta-15

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

      X Tutup