summaryrefslogtreecommitdiff
path: root/test/files/run/fail-non-value-types.check
Commit message (Collapse)AuthorAgeFilesLines
* fully initializes symbols on `typeSignature`Eugene Burmako2012-09-281-1/+1
| | | | | | only affects runtime reflection, because Symbol.typeSignature is only defined in the reflection API. the rest of the compiler uses Symbol.info instead.
* Fix for failing test.Paul Phillips2012-09-281-1/+2
| | | | | | | | | | There's some very sketchy behavior visible - I'm printing a method signature and getting this: [B <: <?>, That <: <?>](f: <?>)(implicit cbf: <?>)That But there's no exposed way to force the info. Am I supposed to call isSealed or something?
* Implementations of isValueType and isNonValueType.Paul Phillips2012-09-281-0/+2
Restrictions regarding how non-value types can be used have generally not been enforced explicitly, depending instead on the fact that the compiler wouldn't attempt to use them in strange ways like offering a method type as a type argument. Since users can now create most types from scratch, it has become important to enforce the restrictions in a more direct fashion. This was a lot harder than it probably should have been because there are so many types which go unmentioned by the specification. Hopefully a useful exercise in any case.