RValue, LValue concept working, Assigning to numbers is now illegal!

This commit is contained in:
Krzosa Karol
2022-06-01 13:28:38 +02:00
parent a5267bb8ae
commit 02b6a1c85b
4 changed files with 6 additions and 8 deletions

View File

@@ -56,11 +56,11 @@ test_assignments :: ()
i >>= 2
i <<= 2
i + 4 = 32
8 = 32
j: *int
*j = 1
/* invalid
8 = 32
i + 4 = 32
i += "String"
*/