mirror of
https://github.com/open-goal/jak-project
synced 2026-09-10 20:29:51 -04:00
Improve forward declaring types (#596)
* improve forward declare type * display type differences * make codacy happy
This commit is contained in:
@@ -162,4 +162,6 @@
|
||||
- Fixed a bug where reader macros without a following form would trigger an assert.
|
||||
- It is now possible to take the address of a lexical variable. The variable will be spilled to the stack automatically.
|
||||
- GOOS supports `string-ref`, `string-length`, `ash`, and characters can now be treated as a signed 8-bit number
|
||||
- Fixed a bug where saved xmm registers might be clobbered when calling a C++ function that wasn't `format`.
|
||||
- Fixed a bug where saved xmm registers might be clobbered when calling a C++ function that wasn't `format`.
|
||||
- The `declare-type` form now supports any parent type. The type system will do a better job of trying to make things work out when only part of the type hierarchy is defined, and you can now chain type forward declarations. The compiler is stricter and will not accept forward declarations that are possibly incompatible. Instead, forward declare enough types and their parents for the compiler to be able to figure it out.
|
||||
- The `deftype` form is more strict and will throw an error if the type definition is in any way incompatible with existing forward declarations of types.
|
||||
Reference in New Issue
Block a user