Power-Fx
Power-Fx copied to clipboard
Block at compile time invalid arguments to Distinct
The Distinct function only works for primitive values, but currently this error only happens at runtime. This PR adds a compile-time check to ensure that only primitive values are passed to the Distinct function. The check is done under the PFxV1 flag, since this currently works in Power Apps (although there are many bugs on the implementation).
✅ No public API change.
✅ No public API change.