Use removeDups to find top-level duplicate names
authorIan Lynagh <igloo@earth.li>
Tue, 26 Oct 2010 21:15:46 +0000 (21:15 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 26 Oct 2010 21:15:46 +0000 (21:15 +0000)
commit116134b1319e60ff38fc3710bd764cff34554837
tree954727b8b1064d886f32f9ecabe3d61eea42220d
parent8c550edef816864b7dfe0bb68317ff7ef88d3d41
Use removeDups to find top-level duplicate names
findDupsEq is quadratic, whereas removeDups is n log n.
Fixes T1969 regression.
compiler/coreSyn/CoreLint.lhs