diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-01-25 20:46:28 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2015-01-25 20:46:28 +0000 |
commit | 75a170c34ad60fda22961045cfcdb89fda3f4571 (patch) | |
tree | 5aca2937790180f264db425f065aa367e6b63264 /Source/Core/CommandLineOptions.cs | |
parent | f11b44a267d7b77feccf33dd1d6d3a2ee712458e (diff) |
Change the return type of StandardVisitor.VisitForAllExpr() from
ForAllExpr to Expr. Enforcing the return type be ForAllExpr is
too restrictive. For example it prevents anyone from implementing
a visitor that does constant folding of an Expr tree.
There is precedence for this. For example VisitNAryExpr() returns
an Expr not an NAryExpr.
Unfortunately this a breaking API change so anyone who subclasses
the StandardVisitor (or one of its sub classes) and overrides this
method will get compilation errors until they change the return type.
a visitor that does constant folding of an Expr tree
Diffstat (limited to 'Source/Core/CommandLineOptions.cs')
0 files changed, 0 insertions, 0 deletions