There is some code duplication in ASTProductionFactory.cpp, related to type inference from a toplevel ASTExpressionNode. This should be abstracted out, and the code duplication removed - to the extent possible.
There is some code duplication in ASTProductionFactory.cpp, related to type inference from a toplevel ASTExpressionNode.
This should be abstracted out, and the code duplication removed - to the extent possible.