diff options
author | Pavel Pavlov <pavel.e.pavlov@gmail.com> | 2014-02-05 15:17:44 +0700 |
---|---|---|
committer | Pavel Pavlov <pavel.e.pavlov@gmail.com> | 2014-02-05 15:19:54 +0700 |
commit | cb1b0ae844ffa7cc158328f763683e602a6bbfe9 (patch) | |
tree | d3132ce86edc129e95e5e043e141d806603bd5fa /src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala | |
parent | eba3cc6a9e4bb091db3cc7d68dc64abb803f52c7 (diff) | |
download | scala-cb1b0ae844ffa7cc158328f763683e602a6bbfe9.tar.gz scala-cb1b0ae844ffa7cc158328f763683e602a6bbfe9.tar.bz2 scala-cb1b0ae844ffa7cc158328f763683e602a6bbfe9.zip |
Fix typo in compiler's error message: anoynmous => anonymous
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala index 4d0eda2377..2043eb5d5d 100644 --- a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala +++ b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala @@ -418,7 +418,7 @@ trait ContextErrors { case TypeRef(_, _, arg :: _) if arg.typeSymbol == TupleClass(funArity) && funArity > 1 => sm"""| |Note: The expected type requires a one-argument function accepting a $funArity-Tuple. - | Consider a pattern matching anoynmous function, `{ case $example => ... }`""" + | Consider a pattern matching anonymous function, `{ case $example => ... }`""" case _ => "" } case _ => "" |