summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library/scala/Dynamic.scala9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/library/scala/Dynamic.scala b/src/library/scala/Dynamic.scala
index 25ce4ef638..2f99518988 100644
--- a/src/library/scala/Dynamic.scala
+++ b/src/library/scala/Dynamic.scala
@@ -2,11 +2,12 @@ package scala
/** A marker trait that enables dynamic invocations. Instances `x` of this trait
* allow calls `x.meth(args)` for arbitrary method names `meth` and argument lists
- * `args`. If a call is not natively supported by `x`, it is rewritten to
+ * `args`. If a call is not natively supported by `x`, it is rewritten to
* `x.applyDynamic("meth", args)`.
+ *
+ * As of scala 2.9, scalac must receive the -Xexperimental optional for Dynamic
+ * to receive this treatment.
*/
-trait Dynamic {
-
-}
+trait Dynamic