Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Uncurry's info transform: non-static module --> method | Adriaan Moors | 2016-08-11 | 1 | -2/+1 |
| | | | | | | | We do this during uncurry so we can insert the necessary applications to the empty argument list. Fields is too late. Refchecks is no longer an info transform. | ||||
* | Merge remote-tracking branch 'origin/2.11.x' into 2.12.x | Seth Tisue | 2015-09-08 | 1 | -0/+16 |
| | | | | | | | | only trivial merge conflicts here. not dealing with PR #4333 in this merge because there is a substantial conflict there -- so that's why I stopped at 63daba33ae99471175e9d7b20792324615f5999b for now | ||||
* | additional class tags for reflection API | Eugene Burmako | 2014-02-14 | 1 | -0/+8 |
| | | | | | | | | | Introduces a test that iterates all abstract types in reflection API and makes sure that every one of them has an associated class tag. After being introduced, the test has immediately failed exposing the lack of tags for TreeCopier, Mirror and RuntimeClass, which has been subsequently fixed in this commit. | ||||
* | SI-6411 reflection is now aware of posterasure | Eugene Burmako | 2014-01-24 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | The `transformedType` method, which is used to bring Scala types to Java world, was written in pre-valueclass times. Therefore, this method only called transforms from erasure, uncurry and refChecks. Now runtime reflection becomes aware of posterasure and as a consequence methods, which have value classes in their signatures, can be called without having to wrap them in catch-a-crash clause. Another facet to this fix was the realization that value classes need to be unwrapped, e.g. C(2) needs to be transformed to just 2, when they are used naked in method signatures (i.e. `c` in `def foo(c: C)` needs to be unwrapped, whereas `cs: List[C]`, `cs: C*` and even `cs: Array[C]` do not). | ||||
* | moves reflective compiler into scala.tools.reflect | Eugene Burmako | 2012-07-02 | 1 | -0/+40 |