fabpot/Twig — Issue #552: Change Concat Operator doesn't work
Author: billmn
Created: 2011-12-07 10:32:57+00:00
State: open

With Twig 1.4 release I have problems to change the Concat operator from "~" to "&"

I've used this code

public function getOperators() {
return array(
array(),
array(
'&' => array('precedence' => 40, 'class' => 'Twig_Node_Expression_Binary_Concat', 'associativity' => \Twig_ExpressionParser::OPERATOR_LEFT)
),
);
}

but it doesn't work ... with 1.3 it works fine