Power-Fx icon indicating copy to clipboard operation
Power-Fx copied to clipboard

Block at compile time invalid arguments to Distinct

Open CarlosFigueiraMSFT opened this issue 10 months ago • 2 comments

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).

CarlosFigueiraMSFT avatar Feb 25 '25 22:02 CarlosFigueiraMSFT

✅ No public API change.

LucGenetier avatar Feb 26 '25 00:02 LucGenetier

✅ No public API change.

LucGenetier avatar Feb 28 '25 20:02 LucGenetier