Commit 9d36fda
Add support for voption union cases in attribute arguments
This change allows ValueNone and ValueSome to be used as attribute argument values by recognizing union case expressions as valid constant expressions in attributes.
Co-authored-by: T-Gro <[email protected]>1 parent adc71bb commit 9d36fda
File tree
2 files changed
+7
-0
lines changed- src/Compiler
- Checking
- TypedTree
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
| 1977 | + | |
| 1978 | + | |
1977 | 1979 | | |
1978 | 1980 | | |
1979 | 1981 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10329 | 10329 | | |
10330 | 10330 | | |
10331 | 10331 | | |
| 10332 | + | |
| 10333 | + | |
| 10334 | + | |
10332 | 10335 | | |
10333 | 10336 | | |
10334 | 10337 | | |
| |||
10338 | 10341 | | |
10339 | 10342 | | |
10340 | 10343 | | |
| 10344 | + | |
| 10345 | + | |
10341 | 10346 | | |
10342 | 10347 | | |
10343 | 10348 | | |
| |||
0 commit comments