Commit e76f44b
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 0080f1f commit e76f44b
1 file changed
+1
-1
lines changed| 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