include anytype
in list of primitive types
This commit is contained in:
parent
0406f7cc93
commit
86e370add0
@ -616,6 +616,7 @@ pub fn isTypeIdent(tree: Analysis.Tree, token_idx: Ast.TokenIndex) bool {
|
|||||||
.{"noreturn"}, .{"type"},
|
.{"noreturn"}, .{"type"},
|
||||||
.{"anyerror"}, .{"comptime_int"},
|
.{"anyerror"}, .{"comptime_int"},
|
||||||
.{"comptime_float"}, .{"anyframe"},
|
.{"comptime_float"}, .{"anyframe"},
|
||||||
|
.{"anytype"},
|
||||||
});
|
});
|
||||||
|
|
||||||
const text = tree.tokenSlice(token_idx);
|
const text = tree.tokenSlice(token_idx);
|
||||||
|
Loading…
Reference in New Issue
Block a user