mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
fix typo
This commit is contained in:
parent
c3458543c9
commit
0b59afec56
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ static void analyze_node(CodeGen *g, AstNode *node) {
|
|||
case NodeTypeFnDef:
|
||||
{
|
||||
AstNode *proto_node = node->data.fn_def.fn_proto;
|
||||
assert(proto_node->type = NodeTypeFnProto);
|
||||
assert(proto_node->type == NodeTypeFnProto);
|
||||
Buf *proto_name = &proto_node->data.fn_proto.name;
|
||||
auto entry = g->fn_defs.maybe_get(proto_name);
|
||||
if (entry) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue