constant x="abcd"/1; typeof(x);
(2) Result: array
I'd like to get array(string) here. Where should the code be improved?
You can try toggling the #if 0 in pike_types.c:get_type_of_svalue(), I don't quite remember why it's diabled.
/ Henrik Grubbström (Lysator)
Previous text:
2004-02-14 00:05: Subject: Improved constant type
constant x="abcd"/1; typeof(x);
(2) Result: array
I'd like to get array(string) here. Where should the code be improved?
/ Martin Nilsson (saturator)
Because there were warnings (or errors?) when you redefined constants.
/ Per Hedbor ()
Previous text:
2004-02-22 11:56: Subject: Improved constant type
You can try toggling the #if 0 in pike_types.c:get_type_of_svalue(), I don't quite remember why it's diabled.
/ Henrik Grubbström (Lysator)
pike-devel@lists.lysator.liu.se