Am 04.12.22 um 16:34 schrieb Saravanan Palanichamy:
Thanks Jochen and Christopher for helping clarify behaviour. So if I wanted to make sure declaration and not flow type is honored, the quickest way is to make sure flow type matches declaration by casting it? Are there other ways inside the compiler to fix this (some options or some indications in the variable declaration statement itself) (I looked and didnt find anything, but thought I'd ask)?
the nodes have meta data, which usually also contains static type information such as the flow type. You would have to make changes here. What exactly you have to look for and change I cannot say without a deep look into the code myself. Eric Miles would be a good address for this though. bye Jochen