diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2014-02-16 22:35:07 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-02-16 22:35:07 +0100 |
commit | 540078412a67055f235b668fef95b1c4aec8210e (patch) | |
tree | e80ab34d772edf85ee64f642676db8d8970156e6 /src | |
parent | 862f7709cdabd82327ca0f37a480884c88f96be7 (diff) | |
download | scala-540078412a67055f235b668fef95b1c4aec8210e.tar.gz scala-540078412a67055f235b668fef95b1c4aec8210e.tar.bz2 scala-540078412a67055f235b668fef95b1c4aec8210e.zip |
better deprecation message for Symbol.companionSymbol
Diffstat (limited to 'src')
-rw-r--r-- | src/reflect/scala/reflect/api/Symbols.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/scala/reflect/api/Symbols.scala b/src/reflect/scala/reflect/api/Symbols.scala index ff7ac3f574..cdab1bb521 100644 --- a/src/reflect/scala/reflect/api/Symbols.scala +++ b/src/reflect/scala/reflect/api/Symbols.scala @@ -298,7 +298,7 @@ trait Symbols { self: Universe => * * @group Basics */ - @deprecated("Use `companion` instead", "2.11.0") + @deprecated("Use `companion` instead, but beware of possible changes in behavior", "2.11.0") def companionSymbol: Symbol /** For a class: its companion object if exists. |