mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
Fixed const expr canonicalization and negative value issues
This commit is contained in:
parent
e7f079f611
commit
fa7638621d
7 changed files with 53 additions and 22 deletions
|
@ -499,6 +499,10 @@ namespace Tests
|
|||
const int32 c1 = 1;
|
||||
int i0 = 0;
|
||||
var tVal = Vector2((i0 % c0) * (c1 + c1), 1);
|
||||
|
||||
int8 a = 123;
|
||||
int32 b = a + 100;
|
||||
Test.Assert(b == 223);
|
||||
}
|
||||
|
||||
struct IntStruct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue