fix: decode should always print to textual
This commit is contained in:
@@ -58,6 +58,8 @@ pub fn exec(
|
|||||||
Program::from_flat(&bytes).into_diagnostic()?
|
Program::from_flat(&bytes).into_diagnostic()?
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let program: Program<Name> = program.try_into().unwrap();
|
||||||
|
|
||||||
program.to_pretty()
|
program.to_pretty()
|
||||||
}
|
}
|
||||||
Format::Debruijn => {
|
Format::Debruijn => {
|
||||||
@@ -68,6 +70,8 @@ pub fn exec(
|
|||||||
Program::from_flat(&bytes).into_diagnostic()?
|
Program::from_flat(&bytes).into_diagnostic()?
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let program: Program<Name> = program.try_into().unwrap();
|
||||||
|
|
||||||
program.to_pretty()
|
program.to_pretty()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user