diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-06 17:05:55 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-06 17:05:55 +0300 |
commit | 3e1bf7f9946efe70d452c71494ac77ed39110804 (patch) | |
tree | f7682f538db9d8b77890e8c0e9c54eb2968d4388 /src/type/mod.rs | |
parent | 313c044b4a878a425aaca6554576f5154ace8ff9 (diff) | |
download | myslip-3e1bf7f9946efe70d452c71494ac77ed39110804.tar.gz myslip-3e1bf7f9946efe70d452c71494ac77ed39110804.zip |
Added print, raised level on which UnboundGeneric error is returned
Diffstat (limited to 'src/type/mod.rs')
-rw-r--r-- | src/type/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type/mod.rs b/src/type/mod.rs index afb5a0b..6f5c6dc 100644 --- a/src/type/mod.rs +++ b/src/type/mod.rs @@ -40,7 +40,7 @@ pub enum TypeError { UndefinedVariable(String), - UnboundGeneric(String), + UnboundGeneric(Type, String), InvalidOperator { operator: SExp, |