aboutsummaryrefslogtreecommitdiff
path: root/src/type/display.rs
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-10 19:16:51 +0300
committerJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-10 19:16:51 +0300
commitd6d1ec80ffcc0b13234b170a91b920371078a027 (patch)
treea8347b04ad354e3f2cb265b5d506a4891853cf7f /src/type/display.rs
parent06798d622327707ca3f3b42d65fc3d1a25ae3c57 (diff)
downloadmyslip-d6d1ec80ffcc0b13234b170a91b920371078a027.tar.gz
myslip-d6d1ec80ffcc0b13234b170a91b920371078a027.zip
Added tests for functions
Diffstat (limited to 'src/type/display.rs')
-rw-r--r--src/type/display.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/type/display.rs b/src/type/display.rs
index cd60673..ded97a0 100644
--- a/src/type/display.rs
+++ b/src/type/display.rs
@@ -112,6 +112,7 @@ impl fmt::Display for TypeError {
letexp
)
},
+ FunAsAtom => write!(f, "'fn' used as atom doesn't make sense"),
OtherError => write!(f, "uncategorized error"),
}
}