From 83e7b9e198b25c7af7905c5dcabe1e325c5a38fb Mon Sep 17 00:00:00 2001 From: dave caruso Date: Mon, 22 May 2023 20:59:25 -0700 Subject: fix extra/ArbitraryModuleNamespaceIdentifiers2 (#3016) * fix extra/ArbitraryModuleNamespaceIdentifiers2 * remove assert --- src/js_ast.zig | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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{ -- cgit v1.2.3