This commit is contained in:
Veikka Tuominen 2022-02-14 15:18:56 +02:00 committed by Auguste Rame
parent 63eb5fa8fc
commit 410a2dd6dd
No known key found for this signature in database
GPG Key ID: 3A5E3F90DF2AAEFE

View File

@ -636,12 +636,12 @@ pub fn isTypeIdent(tree: Ast, token_idx: Ast.TokenIndex) bool {
.{"c_longlong"}, .{"c_ulonglong"},
.{"c_longdouble"}, .{"anyopaque"},
.{"f16"}, .{"f32"},
.{"f64"}, .{"f128"},
.{"bool"}, .{"void"},
.{"noreturn"}, .{"type"},
.{"anyerror"}, .{"comptime_int"},
.{"comptime_float"}, .{"anyframe"},
.{"anytype"},
.{"f64"}, .{"f80"},
.{"f128"}, .{"bool"},
.{"void"}, .{"noreturn"},
.{"type"}, .{"anyerror"},
.{"comptime_int"}, .{"comptime_float"},
.{"anyframe"}, .{"anytype"},
});
const text = tree.tokenSlice(token_idx);