Module changes, found Type_Incomplete error

This commit is contained in:
Krzosa Karol
2022-10-14 17:20:46 +02:00
parent a60df75cc3
commit e07ad3c86d
7 changed files with 59 additions and 15 deletions

View File

@@ -14,6 +14,16 @@ Fix backlog
- [ ] This error is valid error case when someone creates a compound out of basic type C:/AProgramming/cparse/compiler/examples/arms_race/arms_race.core:137 Internal compiler error: Invalid type was passed to the compound expression, should have been an array, struct or slice
result := String{data, filesize}
- [ ] Fix tuple being able to colapse into a single variable
- [ ] Fix Found multiple definitions of not showing multiple definitions in the error message
- [ ] Fix being able to cast -1 to *void
- [ ] How to cast from U64 to pointer?
- [ ] Fix returning literlas using multiple arguments ```
C:/AProgramming/cparse/compiler/examples/arms_race/arms_race.core:141:35: error: cannot take the address of an rvalue of type 'int'
MemoryCopy(&S10_S11_S44_139.m0, &(0x0), sizeof(S10_S11_S44_139.m0));
^ ~~~
C:/AProgramming/cparse/compiler/examples/arms_race/arms_race.core:142:35: error: cannot take the address of an rvalue of type 'unsigned long long'
MemoryCopy(&S10_S11_S44_139.m1, &(32ULL), sizeof(S10_S11_S44_139.m1));
```
Future features