-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Payload capture has incorrect debug info #7239
Labels
Milestone
Comments
You're putting a pointer to a stack variable into the hashmap: + } else {
+ var new_list = try ArrayListUnmanaged(usize).initCapacity(self.gpa, 1);
+ new_list.appendAssumeCapacity(src);
+ try self.compile_log_decls.put(self.gpa, decl, &new_list);
+ }
|
Here's a reduction for gdb showing the wrong type: pub fn main() void {
var a: ?u16 = 0;
var b: ?u8 = 1;
if (a) |*some| {
@breakpoint();
some.* += 1;
}
if (b) |*some| {
@breakpoint();
some.* += 1;
}
}
|
Vexu
added
bug
Observed behavior contradicts documented or intended behavior
stage1
The process of building from source via WebAssembly and the C backend.
labels
Nov 27, 2020
andrewrk
added
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
and removed
stage1
The process of building from source via WebAssembly and the C backend.
labels
Mar 19, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not relevant, look at the comments by Vexu below.
The text was updated successfully, but these errors were encountered: