implemented integer and float constant type inference
This commit is contained in:
parent
463ba71843
commit
989a32fa7b
3 changed files with 37 additions and 5 deletions
|
|
@ -6,6 +6,5 @@ struct b {
|
|||
|
||||
u32 test()
|
||||
{
|
||||
u32 a = (u32)3;
|
||||
a = (u32)2;
|
||||
f32 a = 5.0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue