diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-04-01 22:41:58 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-04-01 22:52:49 +0200 |
commit | ff442fc7bc7ab0b2fef82762c4705a15d8c17ecd (patch) | |
tree | 906c441643d3c8353e37d597228398f010b52aa7 /src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala | |
parent | 19dac8212090f81ffd18bad6d7cc929fbff9bec8 (diff) | |
download | scala-ff442fc7bc7ab0b2fef82762c4705a15d8c17ecd.tar.gz scala-ff442fc7bc7ab0b2fef82762c4705a15d8c17ecd.tar.bz2 scala-ff442fc7bc7ab0b2fef82762c4705a15d8c17ecd.zip |
SI-6710 Clarify stub methods in primitive value classes
- Replaces the implementations of box/unbox in AnyVal companions by
`???`, the methods are only stubs, and the impls did not correspond
to the actual behavior. The doc comment already points to the actual
implementation in BoxesRunTime.
- Replaces the body of `getClass` from `null` to `???` and clarifies in
a comment why the overrides exist.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala')
0 files changed, 0 insertions, 0 deletions