From c566ac9a54eb8c2b5ba1b2681c42363757ce65dc Mon Sep 17 00:00:00 2001 From: Selimaj Dev Date: Sun, 17 May 2026 11:13:29 +0200 Subject: [PATCH] Fix: reveresed type postfix --- src/codegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen.rs b/src/codegen.rs index 9b18cea..52b608b 100644 --- a/src/codegen.rs +++ b/src/codegen.rs @@ -945,7 +945,7 @@ pub fn get_static_type_path(path: &Path) -> String { } pub fn get_type_postfixes(postfixes: &[TypePostfix]) -> String { - postfixes.iter().map(TypePostfix::get_rust).collect() + postfixes.iter().map(TypePostfix::get_rust).rev().collect() } pub fn get_mutable(mutable: bool) -> String {