tags: Skip tags with a parse error inside the name

This commit is contained in:
Max Brunsfeld 2020-07-20 16:46:45 -07:00
parent 1b8426bb65
commit ba70927f57

View file

@ -372,6 +372,10 @@ where
}
if let (Some(tag_node), Some(name_node)) = (tag_node, name_node) {
if name_node.has_error() {
continue;
}
let name_range = name_node.byte_range();
if pattern_info.name_must_be_non_local {