Set is_scoped to false when evaluating a swizzle subexpression (#761)

This commit is contained in:
Ashley authored and GitHub committed 2021-04-23 11:53:07 -04:00
1 parent 0725417193
commit 36bace2b41
1 file changed
+1 -1
+1 -1
View File
@@ -651,7 +651,7 @@ impl<W: Write> Writer<W> {
vector,
pattern,
} => {
self.put_expression(vector, context, is_scoped)?;
self.put_expression(vector, context, false)?;
write!(self.out, ".")?;
for &sc in pattern[..size as usize].iter() {
write!(self.out, "{}", COMPONENTS[sc as usize])?;