- Casting a distinct type based on a pointer to an any would accidentally be permitted. #2575

This commit is contained in:
Christoffer Lerno
2025-11-13 15:54:29 +01:00
parent 748a2f6530
commit 5f96b8e4c6
3 changed files with 41 additions and 7 deletions

View File

@@ -23,6 +23,7 @@
- Fix to `Path` handling `c:\foo` and `\home` parent. #2569
- Fix appending to `c:\` or `\` #2569.
- When encountering a foreach over a `ZString*` it would not properly emit a compilation error, but hit an assert #2573.
- Casting a distinct type based on a pointer to an `any` would accidentally be permitted. #2575
### Stdlib changes