Commit 3f442ab
committed
TC: tcalgebra/TcPolySmokeTest.ec — exercise [*] at parametric carrier
With the post-inline subsumption filter (commit c47657a), [p * q]
at carrier [int poly] resolves uniquely without needing the [polyM]
disambiguation. Replace the [polyM]-based test with the natural
class-form, and add [test_mulrA_at_int_poly] to cover associativity.
The mulmonoid [*] abbrev that previously caused the [MultipleOpMatch]
ambiguity is now dropped post-inline, because its body head [(+)]
[tc_reduce]s to [polyM] which is already represented (concretely) by
the section-local [Top.TcPoly.*] abbrev's body.1 parent c47657a commit 3f442ab
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
0 commit comments