Nicolò Ribaudo 7353a38846 Arrow fns can't be used as the left side of a binary or ternary expression (#559)
* Arrow fns can't be used as the left side of a binary or ternary expression

Fixes #536

* Add test for logical expression with arrow function

* Fix eslint
2017-08-05 00:27:11 +02:00

3 lines
52 B
JSON

{
"throws": "Unexpected token, expected ; (1:9)"
}