Skip to content

Commit

Permalink
Update tool/templates/dart/init.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Bastian <[email protected]>
  • Loading branch information
Manishearth and robertbastian authored Mar 5, 2024
1 parent ff91676 commit a0264e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tool/templates/dart/init.dart
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ class _FinalizedArena {
_finalizer.attach(this, this.arena);
}
// Construct
_FinalizedArena.withLifetime(core.List<core.List<Object>> lifetimeAppendArray) : this.arena = ffi2.Arena() {
_finalizer.attach(this, this.arena);
_FinalizedArena.withLifetime(core.List<core.List<Object>> lifetimeAppendArray) : this() {
for (final edge in lifetimeAppendArray) {
edge.add(this);
}
Expand Down

0 comments on commit a0264e7

Please sign in to comment.