Skip to content

Safe navigation breaks #361

Open
Open
@BSteffaniak

Description

@BSteffaniak

This compiles:

class Assignment extends Operation {
    public Value assigned <=> operands[0]
    public Value assignment <=> operands[1]
    
    public Node scopeConsumer => assignment ? assignment.returnedNode : null

but this doesn't:

class Assignment extends Operation {
    public Value assigned <=> operands[0]
    public Value assignment <=> operands[1]
    
    public Node scopeConsumer => assignment?.returnedNode

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions