Empty string is treated as NULL #35
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
AerScript Information
dd239530d8
Your problem description
Empty string or string containing special characters like "\n" is treated by PH7 Engine as NULL instead of zero-length string. Quick example:
Expected results
Current results
The above example also fails. It shows:
instead of:
I suppose, there is a problem with PH7_OP_STORE instruction.
I think it takes the value as it comes from the compiler. From what I checked, it forces type to NULL if string is empty. Seems easy to fix.
Let me check if I can fix this.
produces