neo4j/neo4j — pull request #2806 by cleishm (2014-08-06 19:27:38+00:00)
Title: Improve type error message in cypher `reduce(...)`

For the case where the accumulator and the expression have mismatching types, it was not clear that the type error was for that reason. This change improves the message for that case.