fix: add is data check to recursive_assert_tipo

This commit is contained in:
Kasey White 2023-02-04 02:47:55 -05:00
parent 86ca466807
commit 4c8221e439
1 changed files with 1 additions and 0 deletions

View File

@ -2111,6 +2111,7 @@ impl<'a> CodeGenerator<'a> {
|| tipo.is_string() || tipo.is_string()
|| tipo.is_void() || tipo.is_void()
|| tipo.get_generic().is_some() || tipo.get_generic().is_some()
|| tipo.is_data()
{ {
} else if tipo.is_map() { } else if tipo.is_map() {
self.used_data_assert_on_list = true; self.used_data_assert_on_list = true;