Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Normalized line endings. | Paul Phillips | 2012-09-20 | 1 | -1/+1 |
| | | | | | | This brings all the files into line with the .gitattributes settings, which should henceforth be automatically maintained by git. | ||||
* | fixes Manifest.Nothing and Manifest.Null | Eugene Burmako | 2012-09-06 | 1 | -1/+1 |
| | | | | | | | | | | Also introduces an important change to Manifest.Nothing and Manifest.Null. Previously their `erasure` was equal to classOf[Object]. Now it's correctly set to classOf[scala.runtime.Nothing$] and classOf[scala.runtime.Null$] correspondingly. See a discussion here: https://groups.google.com/forum/#!topic/scala-internals/Y0ALGo7QPqE | ||||
* | SI-5731 a few fixes for value classes | Eugene Burmako | 2012-07-17 | 1 | -0/+1 |
I've faced two gotchas. First of all posterasure, which is supposed to erase ErasedValueType types, didn't look into ConstantType.value that is known to be smuggling types (hi Paul that's a plus one). Secondly ClassManifest.classType[T] assumed that its T is bound by AnyRef, which is not the case for value types. Here I had two choices: a) introduce a special method for manifests of value types, b) remove the upper bound of the type parameter and call it a day. Since manifests are already deprecated and there's no difference which method was used to create which manifest, I went for option b). |