diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2014-01-27 19:00:45 +0300 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-02-14 13:24:46 +0100 |
commit | 7881137858960d5e59f133ef15730ad96feec5e2 (patch) | |
tree | 4466eda1c1c4be9fbbe2ff146c37f13fc47649ab /src | |
parent | 8217c06e4f2b8a6312caa257f9a629dc59979ab7 (diff) | |
download | scala-7881137858960d5e59f133ef15730ad96feec5e2.tar.gz scala-7881137858960d5e59f133ef15730ad96feec5e2.tar.bz2 scala-7881137858960d5e59f133ef15730ad96feec5e2.zip |
SI-8187 api#Symbol.name now has precise type
I don’t remember why we didn’t have written it as `def name: NameType`
in the first place (probably because of path-dependent bugs that were
popping up every now and then when we were developing the first version
of reflection API), but now there are definitely no obstacles to that.
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 15d4fae59b..7dd5bcc4ab 100644 --- a/src/reflect/scala/reflect/api/Symbols.scala +++ b/src/reflect/scala/reflect/api/Symbols.scala @@ -171,7 +171,7 @@ trait Symbols { self: Universe => /** The name of the symbol as a member of the `Name` type. * @group Basics */ - def name: Name + def name: NameType /** The encoded full path name of this symbol, where outer names and inner names * are separated by periods. |