diff options
author | michelou <michelou@epfl.ch> | 2008-02-13 18:25:24 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-02-13 18:25:24 +0000 |
commit | b08f3e3e9d516fc13556e06a65d4c29aa39f8e15 (patch) | |
tree | eb2046123adfdbe18f712b47f0e4627a074a8958 /src | |
parent | 8125e64385e20c45c013f5ba18ca2c683a2f3131 (diff) | |
download | scala-b08f3e3e9d516fc13556e06a65d4c29aa39f8e15.tar.gz scala-b08f3e3e9d516fc13556e06a65d4c29aa39f8e15.tar.bz2 scala-b08f3e3e9d516fc13556e06a65d4c29aa39f8e15.zip |
removed deprecated class util.Fluid
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Unapplies.scala | 1 | ||||
-rw-r--r-- | src/library/scala/util/Fluid.scala | 25 |
2 files changed, 1 insertions, 25 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala b/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala index 94c9d9865a..cacef3a7b2 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Unapplies.scala @@ -171,6 +171,7 @@ trait Unapplies { self: Analyzer => val tparams = cdef.tparams map copyUntyped[TypeDef] val unapplyParamName = newTermName("x$0") val hasVarArg = constrParams(cdef) match { + case Nil :: _ => false case cps :: _ => treeInfo.isRepeatedParamType(cps.last.tpt) case _ => false } diff --git a/src/library/scala/util/Fluid.scala b/src/library/scala/util/Fluid.scala deleted file mode 100644 index 0b59ff3629..0000000000 --- a/src/library/scala/util/Fluid.scala +++ /dev/null @@ -1,25 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2006-2007, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - -// $Id$ - - -package scala.util - - -import Predef._ -import java.lang.InheritableThreadLocal - -/** <p>This is the same as DynamicVariable. The name "fluid" - * is confusing, and perhaps not even accurate.</p> - * - * @author Lex Spoon - * @version 1.1, 2007-5-21 - */ -@deprecated -class Fluid[T](init: T) extends DynamicVariable[T](init) |