diff options
author | 2023-05-22 20:59:25 -0700 | |
---|---|---|
committer | 2023-05-22 20:59:25 -0700 | |
commit | 83e7b9e198b25c7af7905c5dcabe1e325c5a38fb (patch) | |
tree | 662ec2dd4c18db987965bc6dd8848f4454cbb530 /src/js_ast.zig | |
parent | 879fd45ea2e2e7e7441ab653f4a8231c484f1a53 (diff) | |
download | bun-83e7b9e198b25c7af7905c5dcabe1e325c5a38fb.tar.gz bun-83e7b9e198b25c7af7905c5dcabe1e325c5a38fb.tar.zst bun-83e7b9e198b25c7af7905c5dcabe1e325c5a38fb.zip |
fix extra/ArbitraryModuleNamespaceIdentifiers2 (#3016)
* fix extra/ArbitraryModuleNamespaceIdentifiers2
* remove assert
Diffstat (limited to 'src/js_ast.zig')
-rw-r--r-- | src/js_ast.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig index fbf699483..133ae9aa5 100644 --- a/src/js_ast.zig +++ b/src/js_ast.zig @@ -3615,7 +3615,6 @@ pub const Expr = struct { // Sanity check: assert string is not a null ptr if (st.data.len > 0 and st.isUTF8()) { std.debug.assert(@ptrToInt(st.data.ptr) > 0); - std.debug.assert(st.data[0] > 0); } } return Expr{ @@ -3981,7 +3980,6 @@ pub const Expr = struct { // Sanity check: assert string is not a null ptr if (st.data.len > 0 and st.isUTF8()) { std.debug.assert(@ptrToInt(st.data.ptr) > 0); - std.debug.assert(st.data[0] > 0); } } return Expr{ |