File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -540,7 +540,7 @@ object Parsers {
540540 def handleThis (qual : Ident ) = {
541541 in.nextToken()
542542 val t = atPos(start) { This (qual) }
543- if (! thisOK && in.token != DOT ) syntaxError(DangelingThisInPath (), start)
543+ if (! thisOK && in.token != DOT ) syntaxError(DanglingThisInPath (), start)
544544 dotSelectors(t, finish)
545545 }
546546 def handleSuper (qual : Ident ) = {
Original file line number Diff line number Diff line change @@ -902,7 +902,7 @@ object messages {
902902 val explanation = " "
903903 }
904904
905- case class DangelingThisInPath ()(implicit ctx : Context ) extends Message (34 ) {
905+ case class DanglingThisInPath ()(implicit ctx : Context ) extends Message (34 ) {
906906 val kind = " Syntax"
907907 val msg = hl """ Expected an additional member selection after the keyword ${" this" }"""
908908
You can’t perform that action at this time.
0 commit comments