diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-02-05 00:38:50 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-02-05 00:51:31 +0100 |
commit | 7bf0ecc8d2d92b352182d61095bf564253f813d3 (patch) | |
tree | 0ca5c13a783f6a80f519265a3aa21201405d1c1e /src/reflect | |
parent | 3d318be51f8e8cdec314565920327486212f5020 (diff) | |
download | scala-7bf0ecc8d2d92b352182d61095bf564253f813d3.tar.gz scala-7bf0ecc8d2d92b352182d61095bf564253f813d3.tar.bz2 scala-7bf0ecc8d2d92b352182d61095bf564253f813d3.zip |
[nomaster] doesn't touch NonemptyAttachments
NonemptyAttachments in macro API used to be Attachments$NonemptyAttachments.
However it's private, so noone outside scala.reflect.macros can access it,
making it ineligible for the incompatibility criterion.
Diffstat (limited to 'src/reflect')
-rw-r--r-- | src/reflect/scala/reflect/macros/Attachments.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reflect/scala/reflect/macros/Attachments.scala b/src/reflect/scala/reflect/macros/Attachments.scala index eeb87fafcc..007df3b6e2 100644 --- a/src/reflect/scala/reflect/macros/Attachments.scala +++ b/src/reflect/scala/reflect/macros/Attachments.scala @@ -56,6 +56,8 @@ abstract class Attachments { self => // SI-7018: This used to be an inner class of `Attachments`, but that led to a memory leak in the // IDE via $outer pointers. +// Forward compatibility note: This class used to be Attachments$NonemptyAttachments. +// However it's private, therefore it transcends the compatibility policy for 2.10.x. private final class NonemptyAttachments[P >: Null](override val pos: P, override val all: Set[Any]) extends Attachments { type Pos = P def withPos(newPos: Pos) = new NonemptyAttachments(newPos, all) |