minor cleanup

This commit is contained in:
nora 2023-08-03 14:47:21 +02:00
parent ba3a199249
commit cc04638f1e
16 changed files with 22 additions and 21 deletions

View file

@ -149,7 +149,7 @@ function printExpr(expr: Expr<AnyPhase>, indent: number): string {
return printIdent(expr.value);
}
case "path": {
return `<${expr.segments.join(".")}>${printRes(expr.res)}`;
return `<${expr.segments.join(".")}>${printRes(expr.value.res)}`;
}
case "binary": {
return `${printExpr(expr.lhs, indent)} ${expr.binaryKind} ${printExpr(