Commit f0d164b
committed
fix: use explicit import in PPC/CodeGen.hs to avoid ambiguity
The GADT refactoring of Reg/Target exports RegOps(..) which includes
mkVirtualReg as a typeclass method. PPC/CodeGen.hs imports both PPC.Regs
(which has its own mkVirtualReg) and Reg.Target, creating an ambiguous
reference.
Fix by using an explicit import list for Reg.Target, importing only
targetClassOfReg which is the only function actually used.1 parent 233a623 commit f0d164b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments