You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generic classes with differently typed [Arguments] rows produce different test sets in source-gen and reflection modes #7118
Source-gen mode: every method row runs in every class instantiation, so mistyped combinations such as Test<int>("a") are produced. That gives 4 tests, 1 of which fails on argument conversion.
Reflection mode: each row runs only in the instantiation its own types infer. That gives 2 tests, both passing.
Reflection mode's behaviour looks like the intended one, so source-gen should probably stop pairing rows with instantiations whose types they do not match.
Notes
Found while addressing review on #7094; the exact repro shape should be confirmed when picked up. Related: #7106, #7111.
Activity
fix(engine): run method rows only on the generic class instantiation …