OpenDream
OpenDream copied to clipboard
Typemaker 1.1 Rebased Redux
Essentially just revives https://github.com/OpenDreamProject/OpenDream/pull/2208 with some key differences:
- No merge conflicts (yet)
- Does not do
as paramsat all. This PR is large enough as-is and I don't want to figure out the passing aroundprocParametersmess - Tweaked the error message for typemaker
- Fixed the morbillion formatting warnings
- Fixed an NRE on compiling testgame
- Fixed some other stuff that I forgot about between committing and writing this desc
- Support
astype()in typemaker - Handle
ImplicitNullTypefor proc args
Note that passing the --skip-anything-typecheck compiler option is still strongly recommended for trying to actually use typemaker.
Also don't forget to elevate the typemaker pragmas to warnings/errors for this to actually do anything.
Future PR things:
alist()support- More unit tests
- Revisit
as paramsfrom the original PR