Commit 47f2463b5c
Changed files (2)
lib
std
lib/std/zig/ast.zig
@@ -2198,6 +2198,9 @@ pub const full = struct {
.type_expr = param_type,
};
}
+ if (token_tags[it.tok_i] == .comma) {
+ it.tok_i += 1;
+ }
if (token_tags[it.tok_i] == .r_paren) {
return null;
}
lib/std/hash_map.zig
@@ -563,7 +563,7 @@ pub fn HashMap(
return self.unmanaged.getPtrContext(key, self.ctx);
}
pub fn getPtrAdapted(self: Self, key: anytype, ctx: anytype) ?*V {
- return self.unmanaged.getPtrAdapted(key, self.ctx);
+ return self.unmanaged.getPtrAdapted(key, ctx);
}
/// Finds the key and value associated with a key in the map