summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-03-04 05:23:21 +0000
committerPaul Phillips <paulp@improving.org>2010-03-04 05:23:21 +0000
commit66509d1f6847c8fa4785bcdfa9bce8f5586e1a0e (patch)
tree85b9250f3b4b44617e1cb12409e41a51a21af7df /src
parent34b8e8fcbbb1b11ce81bf69b730abcb78b6699ec (diff)
downloadscala-66509d1f6847c8fa4785bcdfa9bce8f5586e1a0e.tar.gz
scala-66509d1f6847c8fa4785bcdfa9bce8f5586e1a0e.tar.bz2
scala-66509d1f6847c8fa4785bcdfa9bce8f5586e1a0e.zip
Obeyed source comment to make some classes priv...
Obeyed source comment to make some classes private, since the problem described seems to be gone. No review.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Infer.scala10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala
index e773dedba3..28233d3638 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala
@@ -75,14 +75,8 @@ trait Infer {
*/
def freshVar(tparam: Symbol): TypeVar = TypeVar(tparam)
- //todo: remove comments around following privates; right now they cause an IllegalAccess
- // error when built with scalac
-
- /*private*/
- class NoInstance(msg: String) extends Throwable(msg) with ControlThrowable
-
- /*private*/
- class DeferredNoInstance(getmsg: () => String) extends NoInstance("") {
+ private class NoInstance(msg: String) extends Throwable(msg) with ControlThrowable { }
+ private class DeferredNoInstance(getmsg: () => String) extends NoInstance("") {
override def getMessage(): String = getmsg()
}