feat: infer complete ptrcast target types
This commit is contained in:
@@ -2,7 +2,7 @@ mem :: import "@std/mem"
|
||||
|
||||
@hide probe_count func(context ?@mut anyopaque) void {
|
||||
if context |raw| {
|
||||
count @mut usize :: ptrcast!(usize, raw)
|
||||
count @mut usize :: ptrcast!(raw)
|
||||
count^ += 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user