feat(xatu): report empty let expressions

This commit was merged in pull request #83.
This commit is contained in:
2026-09-19 18:25:25 -04:00
parent be8744795c
commit 6e19169e11
11 changed files with 126 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ impl std::fmt::Display for SourceRange {
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum NodeData {
Apply(Apply),
LetIn(LetIn),
Inherit(Inherit),
}
@@ -54,6 +55,11 @@ pub struct Select {
pub attrs: Vec<Ident>,
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct LetIn {
pub binding_count: usize,
}
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Inherit {
pub attr_count: usize,