Project

General

Profile

Actions

Misc #22556

open

Clarify `&&=` and `||=` on multi-line

Misc #22556: Clarify `&&=` and `||=` on multi-line

Added by kddnewton (Kevin Newton) about 1 hour ago.

Status:
Open
Assignee:
-
[ruby-core:127538]

Description

parse.y seems to accept &&= and ||= in the same new position that && and || are accepted, as in:

a
&&=
1

but prism does not accept this because I thought that behavior was only meant for && and ||. I need clarification on that for prism.

No data to display

Actions

Also available in: PDF Atom