Expand expression desugaring
This commit is contained in:
parent
13b7db79b0
commit
8278442d3f
3 changed files with 81 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ impl Program {
|
|||
pub fn desugar(self) -> (Self, bool) {
|
||||
match self {
|
||||
Self::Expr { s0, expr, s1, span } => {
|
||||
let (expr, desugared) = (expr, false); // TODO Implement
|
||||
let (expr, desugared) = expr.desugar();
|
||||
(Self::Expr { s0, expr, s1, span }, desugared)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue