Replies: 5 comments
-
|
GitHub Discussions is the right place - I'm glad to say, its enabled now. Bug reports and feature requests can Why not FPC RTTI? Good question! The short answer is that RTTI serves a different purpose -- it's designed for the running process to query Boolean handling - fair point! You're absolutely right, the The proper fix is adding a subkind byte to |
Beta Was this translation helpful? Give feedback.
-
|
The |
Beta Was this translation helpful? Give feedback.
-
|
Nice to be able to discuss this. Now, recPrimitive is very close to the typinfo.pp type layout, so it is great improvement! Another topic: from the specs, the exact floating point registers support is not defined. |
Beta Was this translation helpful? Give feedback.
-
|
Another note: When you will implement variants, don't forget about custom variant type support. We use it very much with our TDocVariant JSON document holder, and there is already support in fpdebug for runtime display of such values. |
Beta Was this translation helpful? Give feedback.
-
It's not forgotten, and already listed in the progress document as Feature 10 and 10b.. 🙂 I'm almost ready to pick that up. If you have any specific use case or code example, that would be very useful during my implementation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Where to discuss all this?
For instance, why reinvent a type system, whereas there is already one with the FPC RTTI.
There is no direct boolean support in your code if I am correct, you search for uppercase 'BOOL' in the type name if the integer size is 1 byte in the code I have seen. Not very clean.
This is a very nice idea for sure.
Beta Was this translation helpful? Give feedback.
All reactions