Actions
Bug #9611
closedArithmetic operator following parentheses-less method gives ArgumentError
Bug #9611:
Arithmetic operator following parentheses-less method gives ArgumentError
Updated by battox (Matías Battocchia) over 12 years ago
Even though this also happens with +, * and /, I guess it is on purpose to pass negative numbers, not a bug. My mistake.
Updated by usa (Usaku NAKAMURA) over 12 years ago
- Status changed from Open to Rejected
Yes, this is well-known (but often misunderstood) ruby's spec.
Actions