Fix Switch for 128bit integers

This commit is contained in:
bjorn3
2020-09-21 14:48:31 +02:00
parent 010e5b9aa8
commit 45ccc6940e
3 changed files with 20 additions and 3 deletions

View File

@@ -302,7 +302,7 @@ impl TypeVar {
pub fn to_rust_code(&self) -> String {
match &self.base {
Some(base) => format!(
"{}.{}()",
"{}.{}().unwrap()",
base.type_var.to_rust_code(),
base.derived_func.name()
),