Chromium Code Reviews| Index: runtime/vm/ast.h |
| =================================================================== |
| --- runtime/vm/ast.h (revision 16455) |
| +++ runtime/vm/ast.h (working copy) |
| @@ -345,6 +345,10 @@ |
| const AbstractType& type() const { return type_; } |
| + virtual const Instance* EvalConstExpr() const { |
| + return &type(); |
| + } |
|
regis
2012/12/22 00:04:50
You need to check if the type is instantiated and
Tom Ball
2012/12/27 22:13:44
Done.
|
| + |
| virtual void VisitChildren(AstNodeVisitor* visitor) const { } |
| DECLARE_COMMON_NODE_FUNCTIONS(TypeNode); |