diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-03-08 10:22:07 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-03-08 10:22:07 +0000 |
commit | c899305fa7d05bdd0d9a9f15bd3d8f1ed152335d (patch) | |
tree | 63c303daf13efccaaeaec4d114c71fdcff45ec05 /src | |
parent | e588e23b94d1f26e6818701e26734b357d37a99a (diff) | |
download | scala-c899305fa7d05bdd0d9a9f15bd3d8f1ed152335d.tar.gz scala-c899305fa7d05bdd0d9a9f15bd3d8f1ed152335d.tar.bz2 scala-c899305fa7d05bdd0d9a9f15bd3d8f1ed152335d.zip |
Uncommented the private[scala] access modifier ...
Uncommented the private[scala] access modifier of class ::'s constructor
paremeter
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala | 2 | ||||
-rw-r--r-- | src/library/scala/List.scala | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala index 67251d7bd6..b2268ff239 100644 --- a/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala +++ b/src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala @@ -104,7 +104,7 @@ mixin class SyntheticMethods requires Analyzer { newAcc.setFlag(SYNTHETIC).resetFlag(ACCESSOR | PARAMACCESSOR); newAcc.owner.info.decls enter newAcc; val result = typed(DefDef(newAcc, vparamss => rhs.duplicate)); - System.out.println("new acc method " + result) + log("new accessor method " + result) result } diff --git a/src/library/scala/List.scala b/src/library/scala/List.scala index ea4bd0e273..50b9c2001d 100644 --- a/src/library/scala/List.scala +++ b/src/library/scala/List.scala @@ -1101,9 +1101,8 @@ case object Nil extends List[All] { * @version 1.0, 15/07/2003 */ [SerialVersionUID(0L - 8476791151983527571L)] -final case class ::[b](hd: b, /*private[scala]*/ var tl: List[b]) extends List[b] { +final case class ::[b](hd: b, private[scala] var tl: List[b]) extends List[b] { def head = hd; def tail = tl; def isEmpty: boolean = false; } - |