Empty string is treated as NULL #35
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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