Skip to content

Commit 27e881c

Browse files
committed
fix another undefined deref
see 0ba85ea
1 parent b553b7a commit 27e881c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/zig/parser.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ pub const Parser = struct {
431431
},
432432
Token.Id.Keyword_async => {
433433
// TODO shouldn't need this cast
434-
const fn_proto = try self.createAttachFnProto(arena, ctx.decls, undefined,
434+
const fn_proto = try self.createAttachFnProto(arena, ctx.decls, Token(undefined),
435435
ctx.extern_token, ctx.lib_name, (?Token)(null), (?Token)(null), (?Token)(null));
436436

437437
const async_node = try arena.create(ast.NodeAsyncAttribute);

0 commit comments

Comments
 (0)