fix another undefined deref

see 0ba85ea6ff
master
Andrew Kelley 2018-04-10 21:58:04 -04:00
parent b553b7ab83
commit 27e881c2d7
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ pub const Parser = struct {
},
Token.Id.Keyword_async => {
// TODO shouldn't need this cast
const fn_proto = try self.createAttachFnProto(arena, ctx.decls, undefined,
const fn_proto = try self.createAttachFnProto(arena, ctx.decls, Token(undefined),
ctx.extern_token, ctx.lib_name, (?Token)(null), (?Token)(null), (?Token)(null));
const async_node = try arena.create(ast.NodeAsyncAttribute);