From e1d79a280c16083db309be02f911e326ef205f2c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 1 Dec 2016 14:01:37 +0100 Subject: Address reviewers comments --- compiler/src/dotty/tools/dotc/typer/Namer.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/src/dotty/tools/dotc/typer/Namer.scala') 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 -- cgit v1.2.3