| Index: runtime/vm/parser.cc
|
| diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
|
| index ce6dec46202873d52a54b104ee486b62f2b08928..ee41192a02ee984dc7f60f0bbad54cd0fdf63001 100644
|
| --- a/runtime/vm/parser.cc
|
| +++ b/runtime/vm/parser.cc
|
| @@ -13455,7 +13455,7 @@ const Instance& Parser::EvaluateConstExpr(intptr_t expr_pos, AstNode* expr) {
|
| script_, expr_pos,
|
| "error evaluating constant expression");
|
| }
|
| - ASSERT(result.IsInstance());
|
| + ASSERT(result.IsInstance() || result.IsNull());
|
| Instance& value = Instance::ZoneHandle(Z);
|
| value ^= result.raw();
|
| value = TryCanonicalize(value, TokenPos());
|
|
|