nicholaslyang (Nicholas Yang)
- Login: nicholaslyang
- Registered on: 03/20/2018
- Last sign in: 07/07/2019
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
07/07/2019
-
12:18 AM Ruby Feature #15990: "else if" causes confusing syntax error
The problem is that this is valid Ruby:
``` ruby
if false
puts 'false'
else if true
puts 'true'
end
end
```
So we can't really tell if `else if` is invalid until we parse the second `end`.