mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Remove obsolete cgen of Optional effects
This if-else branch was obsoleted by commit 1ea32b37.
This commit is contained in:
1 parent
43630d14f0
commit
b3c793eef0
1 file changed
-2
@@ -146,8 +146,6 @@ func (g *gen) writeStatementAssign0(b *buffer, op t.ID, lhs *a.Expr, rhs *a.Expr
|
|||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
b.writes("status = ")
|
b.writes("status = ")
|
||||||
} else if rhs.Effect().Coroutine() {
|
|
||||||
b.writes("status = ")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if !hack {
|
if !hack {
|
||||||
|
|||||||
Reference in new issue
Block a user