提交 901599a5 编写于 作者: N Neal Gafter

Fix build error in non-debug builds

上级 6c329e3e
......@@ -1220,10 +1220,10 @@ protected override BoundExpression VisitExpressionWithoutStackGuard(BoundExpress
bool wasReachable = this.State.Reachable;
ResultType = _invalidType;
_ = base.VisitExpressionWithoutStackGuard(node);
TypeWithState resultType = ResultType;
#if DEBUG
// Verify Visit method set _result.
TypeWithState resultType = ResultType;
Debug.Assert((object)resultType.Type != _invalidType.Type);
Debug.Assert(AreCloseEnough(resultType.Type, node.Type));
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册