summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/TreeDSL.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/TreeDSL.scala')
-rw-r--r--src/compiler/scala/tools/nsc/ast/TreeDSL.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/TreeDSL.scala b/src/compiler/scala/tools/nsc/ast/TreeDSL.scala
index 6d1914f88b..c4f0be7cf5 100644
--- a/src/compiler/scala/tools/nsc/ast/TreeDSL.scala
+++ b/src/compiler/scala/tools/nsc/ast/TreeDSL.scala
@@ -121,7 +121,7 @@ trait TreeDSL {
/** Methods for sequences **/
def DROP(count: Int): Tree =
if (count == 0) target
- else (target DOT nme.drop)(LIT(count)) DOT nme.toSeq
+ else (target DOT nme.drop)(LIT(count)) DOT nme.toSequence
/** Casting & type tests -- working our way toward understanding exactly
* what differs between the different forms of IS and AS.