clash-lang/clash-compiler

Potential name collision code

Opened this issue · 0 comments

          Ah ok, fair enough. Could you add an issue saying we should investigate this? In case someone gets an error with this ID it should point them to something tangible.

Originally posted by @martijnbastiaan in #2758 (comment)

The line that is referenced is:

mkExpr False Concurrent (NetlistId (Id.unsafeMake "c$dtt_rhs") scrutTy) scrut

The commit that originally introduced this pattern is from more than 8 years ago: 560dd09 And I can no longer remember why I thought this would be safe.