Flag unmapped Path arguments as irregular

This commit is contained in:
mtkennerly 2023-12-09 15:26:47 +08:00
parent f9fd72e887
commit c945aadb3e
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
2 changed files with 2 additions and 10 deletions

View file

@ -531,6 +531,8 @@ impl WikiPath {
if mapped.os.is_some() {
self.os = mapped.os;
}
} else if !other.composite.is_empty() {
self.regularity = Regularity::Irregular;
}
self.incorporate(other)