diff --git a/src/julec/obj/cxx/type.jule b/src/julec/obj/cxx/type.jule index 8ffa68b67..dc2c017f7 100644 --- a/src/julec/obj/cxx/type.jule +++ b/src/julec/obj/cxx/type.jule @@ -23,6 +23,7 @@ use std::jule::sema::{ Fn, Param, } +use types for std::jule::types // Returns directive if exist. fn find_directive(mut &directives: []&ast::Directive, tag: str): &ast::Directive { @@ -54,6 +55,7 @@ impl TypeCoder { // Returns given identifier as Jule type identifier. static fn to_type(mut id: str): str { + id = types::real_kind_of(id) if 97 <= id[0] && id[0] <= 122 { id[0] -= 32 // To upper first byte. }