mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55:11 +01:00
Don't resume/suspend vars containing pointers.
This commit is contained in:
1 parent
d5c8e20268
commit
10b7d5a031
7 files changed
+78
-38
No files matched your search
@@ -176,7 +176,7 @@ func (g *gen) writeFuncImplHeader(b *buffer) error {
|
||||
b.writes("\n")
|
||||
|
||||
// Generate the local variables.
|
||||
if err := g.writeVars(b, g.currFunk.astFunc.Body()); err != nil {
|
||||
if err := g.writeVars(b, g.currFunk.astFunc.Body(), false); err != nil {
|
||||
return err
|
||||
}
|
||||
b.writes("\n")
|
||||
|
||||
Reference in new issue
Block a user