Allocgate 2.0 slain (#791)

* Allocgate 2.0 slain

* Tests now compile, but they fail

* Temporary bruteforce
This commit is contained in:
Auguste Rame
2022-12-02 15:14:58 -05:00
committed by GitHub
parent f6f0a0dca5
commit 6ab2c68355
10 changed files with 34 additions and 26 deletions

View File

@@ -105,7 +105,7 @@ pub fn collectReplacePlaceholders(allocator: std.mem.Allocator, source: []const
return CollectPlaceholdersResult{
.locations = locations,
.new_source = new_source.toOwnedSlice(allocator),
.new_source = try new_source.toOwnedSlice(allocator),
};
}