On Tue, May 8, 2012 at 12:13 AM, Eugene Burmako <
eugene....@epfl.ch> wrote:
> Someone just said not to use typeSymbols, right? No trolling, just trying to
> understand
I was insufficiently specific. What you want to avoid is exactly what
was causing SI-5769 - mixing operations which normalize with
operations which don't. If you want to be more careful, there's
always
tpe.normalize match {
case TypeRef(_, sym, _) if sym isSubClass FunctionClass(0) => ...
}
But if you happen to know isSubClass deals with aliases transparently
then you know it's not going to hurt you here.
It would be better if there were fewer chainsaw-juggling carneys
hanging around, yes.