feat(xatu): add let order rule #88

Closed
alexion wants to merge 5 commits from refs/pull/88/head into main
pull from: refs/pull/88/head
3 changed files with 3 additions and 2 deletions
Showing only changes of commit 5fafebad33 - Show all commits

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ pub struct Ident {
pub enum Expr { pub enum Expr {
Ident(Ident), Ident(Ident),
Select(Select), Select(Select),
Other,
} }
#[derive(Debug, Clone, PartialEq, Eq)] #[derive(Debug, Clone, PartialEq, Eq)]
+1 -1
View File
@@ -115,7 +115,7 @@ impl TryFrom<rnix::ast::Expr> for ast::Expr {
match expr { match expr {
rnix::ast::Expr::Ident(ident) => Ok(Self::Ident(ident.into())), rnix::ast::Expr::Ident(ident) => Ok(Self::Ident(ident.into())),
rnix::ast::Expr::Select(select) => Ok(Self::Select(select.try_into()?)), rnix::ast::Expr::Select(select) => Ok(Self::Select(select.try_into()?)),
_ => Err(()), _ => Ok(Self::Other),
} }
} }
} }
+1 -1
View File
@@ -1,5 +1,5 @@
let let
support = dependency; support = "support";
primary = support; primary = support;
in { in {
package = package; package = package;