fix Issue 9232 - Parsing error on some templated methods calls