File tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -540,7 +540,7 @@ object Parsers {
540
540
def handleThis (qual : Ident ) = {
541
541
in.nextToken()
542
542
val t = atPos(start) { This (qual) }
543
- if (! thisOK && in.token != DOT ) syntaxError(DangelingThisInPath (), start)
543
+ if (! thisOK && in.token != DOT ) syntaxError(DanglingThisInPath (), start)
544
544
dotSelectors(t, finish)
545
545
}
546
546
def handleSuper (qual : Ident ) = {
Original file line number Diff line number Diff line change @@ -902,7 +902,7 @@ object messages {
902
902
val explanation = " "
903
903
}
904
904
905
- case class DangelingThisInPath ()(implicit ctx : Context ) extends Message (34 ) {
905
+ case class DanglingThisInPath ()(implicit ctx : Context ) extends Message (34 ) {
906
906
val kind = " Syntax"
907
907
val msg = hl """ Expected an additional member selection after the keyword ${" this" }"""
908
908
You can’t perform that action at this time.
0 commit comments