aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/ast/Trees.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-11-15 12:09:50 +0100
committerMartin Odersky <odersky@gmail.com>2013-11-15 12:10:02 +0100
commit7a9e632c64865084e6e8559a0e6ea90e2b706a8b (patch)
treeab772e5db15e653421629cca3a2fc341e661b3d1 /src/dotty/tools/dotc/ast/Trees.scala
parent73ee6c8ab79f13d80899beacd3f0d16814ffb2db (diff)
downloaddotty-7a9e632c64865084e6e8559a0e6ea90e2b706a8b.tar.gz
dotty-7a9e632c64865084e6e8559a0e6ea90e2b706a8b.tar.bz2
dotty-7a9e632c64865084e6e8559a0e6ea90e2b706a8b.zip
Tweak to Coder test
Diffstat (limited to 'src/dotty/tools/dotc/ast/Trees.scala')
-rw-r--r--src/dotty/tools/dotc/ast/Trees.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/ast/Trees.scala b/src/dotty/tools/dotc/ast/Trees.scala
index 8677331d6..ae3b8008a 100644
--- a/src/dotty/tools/dotc/ast/Trees.scala
+++ b/src/dotty/tools/dotc/ast/Trees.scala
@@ -207,7 +207,7 @@ object Trees {
/** Destructively set the type of the tree. This should be called only when it is known that
* it is safe under sharing to do so. One user-case is in the withType method below
- * which implements copy-on-write. Another user-case is in method interpolateAndAdapt in Typer,
+ * which implements copy-on-write. Another use-case is in method interpolateAndAdapt in Typer,
* where we overwrite with a simplified version of the type itself.
*/
private[dotc] def overwriteType(tpe: T) = myTpe = tpe