Commit f729a9d
Fix #5795 test: remove incorrect issue reference, add proper negative repros
The test 'Custom attribute used on type and let in rec module' incorrectly
referenced issue #5795, but it didn't actually reproduce the issue. Issue
#5795 is about attributes on union cases and type parameters within a
rec module, which remain unresolved.
Changes:
- Remove #5795 reference from test that doesn't repro the actual issue
- Add two negative tests with exact #5795 repros (union case + type param)
documenting that these scenarios still fail with the expected errors
- All 13 tests in the module pass
Co-authored-by: Copilot <[email protected]>1 parent ce04c19 commit f729a9d
1 file changed
Lines changed: 33 additions & 2 deletions
File tree
- tests/FSharp.Compiler.ComponentTests/Conformance/BasicGrammarElements/CustomAttributes/AttributeUsage
Lines changed: 33 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
58 | 89 | | |
59 | 90 | | |
60 | 91 | | |
| |||
0 commit comments