parent
c5d1b3ea96
commit
4de9c6d491
6 changed files with 132 additions and 23 deletions
|
@ -37,6 +37,8 @@ const QUERY = [
|
|||
"mod : :",
|
||||
"a!a",
|
||||
"a!!",
|
||||
"mod:a!",
|
||||
"a!::a",
|
||||
];
|
||||
|
||||
const PARSED = [
|
||||
|
@ -382,4 +384,22 @@ const PARSED = [
|
|||
userQuery: "a!!",
|
||||
error: 'Cannot have more than one `!` in an ident',
|
||||
},
|
||||
{
|
||||
elems: [],
|
||||
foundElems: 0,
|
||||
original: "mod:a!",
|
||||
returned: [],
|
||||
typeFilter: -1,
|
||||
userQuery: "mod:a!",
|
||||
error: 'Invalid search type: macro `!` and `mod` both specified',
|
||||
},
|
||||
{
|
||||
elems: [],
|
||||
foundElems: 0,
|
||||
original: "a!::a",
|
||||
returned: [],
|
||||
typeFilter: -1,
|
||||
userQuery: "a!::a",
|
||||
error: 'Cannot have associated items in macros',
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue