diff options
author | 2023-02-23 23:57:19 -0800 | |
---|---|---|
committer | 2023-02-23 23:57:19 -0800 | |
commit | 3f04f8d0a653cf5decef2225c2044742b382718a (patch) | |
tree | 91eb6500834e3157ecb9ab208101aa368a1191c8 /src/json_parser.zig | |
parent | b5bdde28ed34070cbb1d34d13f414f4c513ee40d (diff) | |
download | bun-3f04f8d0a653cf5decef2225c2044742b382718a.tar.gz bun-3f04f8d0a653cf5decef2225c2044742b382718a.tar.zst bun-3f04f8d0a653cf5decef2225c2044742b382718a.zip |
Upgrade Zig (#2151)
* fixup
* Upgrade Zig
* Remove bad assertion
* strings
* bump
* mode -> optimize
* optimize
* Linux build
* Update bindgen.zig
Diffstat (limited to 'src/json_parser.zig')
-rw-r--r-- | src/json_parser.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json_parser.zig b/src/json_parser.zig index b420cbd43..4c6843be4 100644 --- a/src/json_parser.zig +++ b/src/json_parser.zig @@ -628,7 +628,7 @@ pub fn toAST( return toAST(allocator, string, @as(string, @tagName(value))); }, - .ErrorSet => return try toAST(allocator, []const u8, std.mem.span(@errorName(value))), + .ErrorSet => return try toAST(allocator, []const u8, bun.asByteSlice(@errorName(value))), .Union => |Union| { const info = Union; if (info.tag_type) |UnionTagType| { |