library: go/parser (todo)

This commit is contained in:
xushiwei
2024-07-31 12:29:09 +08:00
parent 4c70651b81
commit 5082ba7102
4 changed files with 656 additions and 2 deletions

View File

@@ -221,7 +221,7 @@ func (b Builder) Defer(kind DoAction, fn Expr, args ...Expr) {
case DeferAlways:
// nothing to do
default:
panic("todo: DeferInLoop is not supported")
panic("todo: DeferInLoop is not supported - " + b.Func.Name())
}
self.stmts = append(self.stmts, func(bits Expr) {
switch kind {