Packages

o

scala.tools.nsc.typechecker.StdAttachments

DynamicRewriteAttachment

object DynamicRewriteAttachment extends Product with Serializable

Since mkInvoke, the applyDynamic/selectDynamic/etc desugarer, is disconnected from typedNamedApply, the applyDynamicNamed argument rewriter, the latter doesn’t know whether it needs to apply the rewriting because the application has just been desugared or it needs to hold on because it’s already performed a desugaring on this tree. This has led to scala/bug#8006.

This attachment solves the problem by providing a means of communication between the two Dynamic desugarers, which solves the aforementioned issue.

Source
StdAttachments.scala
Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DynamicRewriteAttachment
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All