scala/scala — pull request #971 by dragos (2012-07-22 11:46:36+00:00)
Title: SI-6122: Small changes to reflection API to make it safe for IDE use.

* Removed `typeSymbol` and `termSymbol` from `reflect.api.base`, and pushed them down to
`reflect.api`.
* extracted `TypeTree.symbol` to a top-level method so it can be overridden in lower cake layers (this is the only method in trees that can trigger type checking and therefore is not thread safe.

review by @odersky, @xeno_by