implemented integer and float constant type inference

This commit is contained in:
Lorenzo Torres 2025-12-06 00:02:46 +01:00
parent 463ba71843
commit 989a32fa7b
3 changed files with 37 additions and 5 deletions

View file

@ -6,6 +6,5 @@ struct b {
u32 test()
{
u32 a = (u32)3;
a = (u32)2;
f32 a = 5.0;
}