better error when trying to use a const pointer (which is not supported yet)

This commit is contained in:
Irmen de Jong
2025-10-30 20:58:21 +01:00
parent fc8727f81e
commit b1e07f3fdb
11 changed files with 75 additions and 174 deletions
+1
View File
@@ -13,6 +13,7 @@ Future Things and Ideas
- struct/ptr: optimize the float copying in assignIndexedPointer() (also word and long?)
- struct/ptr: optimize augmented assignments to indexed pointer targets like sprptr[2]^^.y++ (these are now not performend in-place but as a regular assignment)
- struct/ptr: implement even more struct instance assignments (via memcopy) in CodeDesugarer (see the TODO) (add to documentation as well, paragraph 'Structs')
- struct/ptr: support const pointers (simple and struct types)
- struct/ptr: support @nosplit pointer arrays?
- struct/ptr: support pointer to pointer?
- struct/ptr: support for typed function pointers? (&routine could be typed by default as well then)