microsoft / microsoft/Power-Fx
FormulaType.Build doesn't return optionset
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 358
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 3
Description
FormulaType.Build maps OptionSet --> RecordType.
This loses the OS type information.
It should treat as an option set.
Related - builtin enums (like Color) get treated as an unsupported type.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/libraries/Microsoft.PowerFx.Core/Public/Types/FormulaType.cs around line 170 and inspect how FormulaType.Build maps OptionSet and builtin enums. Verify the current behavior and identify the existing type representations used for option sets and enums. Done means OptionSet retains its option-set type information and builtin enums such as Color are no longer treated as unsupported types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100