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