Closed PierreR closed 5 years ago
@bartavelle I currently don't see why
$a, $b = {
c => 1,
d => $x
}
works fine but this one is failing :
$a = $b = {
c => {
d => 1
}
}
1) Parser, Data types, Lexer, Valid lexer, should parse tests/Parser/lexer/varassignment.pp
the parser is expected to succeed, but it failed with:
23:9:
|
23 | $a = $b = {
| ^
unexpected '='
expecting "!=", "!~", "<<", "<=", "==", "=~", ">=", ">>", "and", "in", "or", '*', '+', '-', '.', '/', '<', '>', '?', '[', Statement, or end of input
Related to #201