summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/SyntheticMethods.scala2
-rw-r--r--src/library/scala/List.scala3
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;
}
-