Project

General

Profile

Actions

Feature #19545

open

lp/hp logic parsing inconsistency

Added by hurricup (Alexandr Evstigneev) over 1 year ago. Updated over 1 year ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:112990]

Description

As far as i get it, low precedence logic should behave the same as high precedence. But:

This is ok:

puts(false || !false)

And this is not:

puts(false or not false)

Feels like in latter case there is some mess with comma precedence.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like1Like0