Add test for unclosed generic

This commit is contained in:
Guillaume Gomez 2023-03-02 14:28:15 +01:00
parent 51e976948d
commit 823671589f

View File

@ -39,6 +39,7 @@ const QUERY = [
"a!!",
"mod:a!",
"a!::a",
"a<",
];
const PARSED = [
@ -402,4 +403,13 @@ const PARSED = [
userQuery: "a!::a",
error: 'Cannot have associated items in macros',
},
{
elems: [],
foundElems: 0,
original: "a<",
returned: [],
typeFilter: -1,
userQuery: "a<",
error: "Unclosed `<`",
},
];