mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
Address review feedback
This commit is contained in:
parent
3b0db07fa1
commit
8c77a54b4f
13 changed files with 217 additions and 66 deletions
|
@ -101,7 +101,10 @@ fn round_trip_once(input: Input<'_>, options: Options) -> Option<String> {
|
|||
let arena = Bump::new();
|
||||
|
||||
let actual = match input.parse_in(&arena) {
|
||||
Ok(a) => a,
|
||||
Ok(a) => {
|
||||
println!("actual {a:#?}");
|
||||
a
|
||||
}
|
||||
Err(e) => {
|
||||
if options.minimize_initial_parse_error {
|
||||
return Some(format!("Initial parse failed: {:?}", e.normalize(&arena)));
|
||||
|
|
|
@ -351,8 +351,6 @@ impl<'a> Input<'a> {
|
|||
panic!("Unexpected parse failure when parsing this for formatting:\n\n{}\n\nParse error was:\n\n{:#?}\n\n", self.as_str(), err);
|
||||
});
|
||||
|
||||
println!("Actual {actual:#?}");
|
||||
|
||||
let output = actual.format();
|
||||
|
||||
handle_formatted_output(output.as_ref());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue