Power-Fx
Power-Fx copied to clipboard
Improve error message when void values are assigned in record.
For Expression where the user by mistake assigns the void type to the record field,
e.g. {out : Remove()}
we give the below error.
Incompatible type. The item you are trying to put into a record has a type that is not compatible with the record.
which is not actionable. We should tell them which types are expected or least, what is the current type that is not compatible (Ie Void value here).