Ragmaanir (Ragmaanir Anon)
- Login: Ragmaanir
- Registered on: 07/29/2009
- Last sign in: 07/15/2018
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
10/10/2010
-
04:31 AM Ruby Feature #3922: Syntax awkwardness
- =begin
Ok, first i was surprised by the fact that it is possible to embed
multiple statements inside a parenthesised expression:
[code]
(4; 1) #=> 1
### OR:
(4
1) #=> 1
[/code]
But ok, maybe this is needed somewhere (do you have...
10/09/2010
-
10:38 PM Ruby Feature #3922 (Rejected): Syntax awkwardness
- =begin
[code]
1 + (2; 1) #=> 2
puts(1; 2) #=> syntax error
puts((1; 2)) # like: puts 2
puts (3)*2 #=> 6
puts(3)*2 #=> nil-error
puts (1; 2) #=> syntax error
puts (1; 2)*3 #=> syntax error
puts ((1; 2))*3 # like: puts 6
...