Commit 9ba24be
Add test for generic-arity stripping in nested inferred type names (#1022)
Covers the BUG-4 fix in GetInferredLuceneTypeName (commit 9fc36a4) where the
back-tick arity is stripped from each enclosing declaring-type name, not just
the leaf, so a type nested under a generic outer (PairOutputs<A,B>.Pair) infers
"PairOutputs.Pair" rather than "PairOutputs`2.Pair". This test lives in the main
Lucene.Net test project alongside the other GetInferredLuceneTypeName cases,
since the change is in the shipping Lucene.Net assembly.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3be4db0 commit 9ba24be
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments