Implement a migration to new braces syntax and add migrate tests

This commit is contained in:
Joshua Warner 2025-02-16 09:34:10 -08:00
parent 017fd006c6
commit 109cb93b20
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
540 changed files with 3425 additions and 2 deletions

View file

@ -979,7 +979,7 @@ fn format_str_segment(seg: &StrSegment, buf: &mut Buf) {
}
}
fn push_op(buf: &mut Buf, op: BinOp) {
pub fn push_op(buf: &mut Buf, op: BinOp) {
match op {
called_via::BinOp::Caret => buf.push('^'),
called_via::BinOp::Star => buf.push('*'),

View file

@ -7,6 +7,7 @@ pub mod collection;
pub mod def;
pub mod expr;
pub mod header;
pub mod migrate;
pub mod node;
pub mod pattern;
pub mod spaces;

File diff suppressed because it is too large Load diff