scala/scala — pull request #3825 by retronym (2014-06-20 15:45:51+00:00)
Title: SI-8323 Erase constant types for better double-def checks

Historically, Constant Types in method signatures have not been
erased. Rather, this was done in the backend.

This state of affairs leads to wrong decisions when the erasure
phase makes decisions about whether a pair of methods will clash
in bytecode.

This commit changes `ErasureMap` to take the underlying type of a
constant type.

This change obviates the fix for SI-4753, dcc07bd9f.

Review by @lrytz @gkossakowski. This PR doesn't actually change
erasure in a binary imcompatible way, so I think its a candidate
for 2.11.x