Update type alias soft keyword heuristic to be more strict about Equals placement

This commit is contained in:
Zanie 2023-07-17 09:49:17 -05:00
parent b2d67c70f3
commit af508c2c26

View file

@ -115,7 +115,10 @@ where
}
Tok::Lsqb => nesting += 1,
Tok::Rsqb => nesting -= 1,
_ => {}
// Allow arbitrary content within brackets for now
_ if nesting > 0 => {}
// Exit if unexpected tokens are seen
_ => break,
}
}
}