aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/typer/Namer.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-12-01 14:01:37 +0100
committerMartin Odersky <odersky@gmail.com>2016-12-01 14:01:37 +0100
commite1d79a280c16083db309be02f911e326ef205f2c (patch)
tree8c25c6e24257f90489352dc2bee691c9d1a24883 /compiler/src/dotty/tools/dotc/typer/Namer.scala
parent9a3f82c69a1c2912fc8a15e580dedcf9683eae3c (diff)
downloaddotty-e1d79a280c16083db309be02f911e326ef205f2c.tar.gz
dotty-e1d79a280c16083db309be02f911e326ef205f2c.tar.bz2
dotty-e1d79a280c16083db309be02f911e326ef205f2c.zip
Address reviewers comments
Diffstat (limited to 'compiler/src/dotty/tools/dotc/typer/Namer.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/typer/Namer.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Namer.scala b/compiler/src/dotty/tools/dotc/typer/Namer.scala
index 9b6bad291..b8fe46745 100644
--- a/compiler/src/dotty/tools/dotc/typer/Namer.scala
+++ b/compiler/src/dotty/tools/dotc/typer/Namer.scala
@@ -570,10 +570,10 @@ class Namer { typer: Typer =>
* that are already added to the symbol.
*/
def addAnnotations(sym: Symbol, stat: MemberDef)(implicit ctx: Context) = {
- // (1) The context in which an annotation of a top-evel class or module is evaluated
+ // (1) The context in which an annotation of a top-level class or module is evaluated
// is the closest enclosing context which has the enclosing package as owner.
// (2) The context in which an annotation for any other symbol is evaluated is the
- // closest enclosing context which has the owner of the class enclpsing the symbol as owner.
+ // closest enclosing context which has the owner of the class enclosing the symbol as owner.
// E.g in
//
// package p