Skip to content

delete usingnamespace in bindings generator #19020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 15, 2025
Merged

Conversation

paperclover
Copy link
Collaborator

What does this PR do?

  • Documentation or TypeScript types (it's okay to leave the rest blank in this case)
  • Code changes

How did you verify your code works?

@robobun
Copy link

robobun commented Apr 14, 2025

Updated 10:21 AM PT - Apr 15th, 2025

@paperclover, your commit 3db0d80 has 2 failures in Build #14958:


🧪   try this PR locally:

bunx bun-pr 19020

pub fn ref(this: *JSGlobalObject) C_API.JSContextRef {
return @as(C_API.JSContextRef, @ptrCast(this));
// TODO: delete these two fns
pub fn ref(this: *JSGlobalObject) *JSGlobalObject {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@@ -28,7 +28,7 @@ const words: Record<string, { reason: string; limit?: number; regex?: boolean }>
"== alloc.ptr": { reason: "The std.mem.Allocator context pointer can be undefined, which makes this comparison undefined behavior" },
"!= alloc.ptr": { reason: "The std.mem.Allocator context pointer can be undefined, which makes this comparison undefined behavior" },
[String.raw`: [a-zA-Z0-9_\.\*\?\[\]\(\)]+ = undefined,`]: { reason: "Do not default a struct field to undefined", limit: 242, regex: true },
"usingnamespace": { reason: "Zig deprecates this, and will not support it in incremental compilation.", limit: 370 },
"usingnamespace": { reason: "Zig deprecates this, and will not support it in incremental compilation.", limit: 310 },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

Copy link
Member

@dylan-conway dylan-conway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build broken

@paperclover paperclover merged commit be77711 into main Apr 15, 2025
61 of 70 checks passed
@paperclover paperclover deleted the chloe/usingnamespace4 branch April 15, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants