anyway, just for curiosity :simple_smile: , why `(...
# announcements
r
anyway, just for curiosity simple smile , why
(if (cond) a else b).foo()
it’s ok but
(if (cond) a else b) = x
should be questionable? After all both are operating to an object returned by the if expression. I understand assignment is a completely different thing than access a method/field, but what could be wrong with that? It’s a theory problem within the language paradigm or a practical problem for the compiler?