diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2014-11-06 10:45:42 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2014-11-06 10:45:42 +0100 |
commit | ced9e167d9d2c9016e76b6db94ceea7335d37bf2 (patch) | |
tree | dc34d6729eb2d8d4c6859415b54ae1d99301d0e7 /src | |
parent | cd50464cd019bc6a489a72b98293c30b91352bab (diff) | |
parent | 21a44fee3e92817eed3d002c839b62f5e1281200 (diff) | |
download | scala-ced9e167d9d2c9016e76b6db94ceea7335d37bf2.tar.gz scala-ced9e167d9d2c9016e76b6db94ceea7335d37bf2.tar.bz2 scala-ced9e167d9d2c9016e76b6db94ceea7335d37bf2.zip |
Merge pull request #4093 from lrytz/t8960
SI-8960 Bring back the SerialVersionUID to anonymous function classes
Diffstat (limited to 'src')
-rw-r--r-- | src/reflect/scala/reflect/internal/Definitions.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/scala/reflect/internal/Definitions.scala b/src/reflect/scala/reflect/internal/Definitions.scala index e2ee6a9076..6b979795ec 100644 --- a/src/reflect/scala/reflect/internal/Definitions.scala +++ b/src/reflect/scala/reflect/internal/Definitions.scala @@ -1118,7 +1118,7 @@ trait Definitions extends api.StandardDefinitions { lazy val ScalaInlineClass = requiredClass[scala.inline] lazy val ScalaNoInlineClass = requiredClass[scala.noinline] lazy val SerialVersionUIDAttr = requiredClass[scala.SerialVersionUID] - lazy val SerialVersionUIDAnnotation = AnnotationInfo(SerialVersionUIDAttr.tpe, List(Literal(Constant(0))), List()) + lazy val SerialVersionUIDAnnotation = AnnotationInfo(SerialVersionUIDAttr.tpe, List(), List(nme.value -> LiteralAnnotArg(Constant(0)))) lazy val SpecializedClass = requiredClass[scala.specialized] lazy val ThrowsClass = requiredClass[scala.throws[_]] lazy val TransientAttr = requiredClass[scala.transient] |