Replace "= try foo" with "=? foo"

This commit is contained in:
Nigel Tao committed 2018-12-01 13:11:47 +11:00
1 parent ad9851ea75
commit 9741eada02
14 files changed
+75 -82

No files matched your search

-2
View File
@@ -303,8 +303,6 @@ func (h *resumabilityHelper) doExpr1(r resumabilities, n *a.Expr, sef subExprFil
switch n.Operator() {
case t.IDOpenParen:
r.raiseNoneToWeak()
case t.IDTry:
// No-op.
default:
return fmt.Errorf("unrecognized ast.Expr coroutine operator")
}