summaryrefslogtreecommitdiff
path: root/test/files/neg/missing-param-type-tuple.check
diff options
context:
space:
mode:
authorPavel Pavlov <pavel.e.pavlov@gmail.com>2014-02-05 15:17:44 +0700
committerPavel Pavlov <pavel.e.pavlov@gmail.com>2014-02-05 15:19:54 +0700
commitcb1b0ae844ffa7cc158328f763683e602a6bbfe9 (patch)
treed3132ce86edc129e95e5e043e141d806603bd5fa /test/files/neg/missing-param-type-tuple.check
parenteba3cc6a9e4bb091db3cc7d68dc64abb803f52c7 (diff)
downloadscala-cb1b0ae844ffa7cc158328f763683e602a6bbfe9.tar.gz
scala-cb1b0ae844ffa7cc158328f763683e602a6bbfe9.tar.bz2
scala-cb1b0ae844ffa7cc158328f763683e602a6bbfe9.zip
Fix typo in compiler's error message: anoynmous => anonymous
Diffstat (limited to 'test/files/neg/missing-param-type-tuple.check')
-rw-r--r--test/files/neg/missing-param-type-tuple.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/missing-param-type-tuple.check b/test/files/neg/missing-param-type-tuple.check
index bc46ba1023..3a4258ff8c 100644
--- a/test/files/neg/missing-param-type-tuple.check
+++ b/test/files/neg/missing-param-type-tuple.check
@@ -1,6 +1,6 @@
missing-param-type-tuple.scala:3: error: missing parameter type
Note: The expected type requires a one-argument function accepting a 2-Tuple.
- Consider a pattern matching anoynmous function, `{ case (a, b) => ... }`
+ Consider a pattern matching anonymous function, `{ case (a, b) => ... }`
val x: ((Int, Int)) => Int = (a, b) => 0
^
missing-param-type-tuple.scala:3: error: missing parameter type
@@ -8,7 +8,7 @@ missing-param-type-tuple.scala:3: error: missing parameter type
^
missing-param-type-tuple.scala:5: error: missing parameter type
Note: The expected type requires a one-argument function accepting a 3-Tuple.
- Consider a pattern matching anoynmous function, `{ case (param1, ..., param3) => ... }`
+ Consider a pattern matching anonymous function, `{ case (param1, ..., param3) => ... }`
val y: ((Int, Int, Int)) => Int = (a, b, !!) => 0
^
missing-param-type-tuple.scala:5: error: missing parameter type
@@ -19,7 +19,7 @@ missing-param-type-tuple.scala:5: error: missing parameter type
^
missing-param-type-tuple.scala:7: error: missing parameter type
Note: The expected type requires a one-argument function accepting a 3-Tuple.
- Consider a pattern matching anoynmous function, `{ case (param1, ..., param3) => ... }`
+ Consider a pattern matching anonymous function, `{ case (param1, ..., param3) => ... }`
val z: ((Int, Int, Int)) => Int = (a, NotAVariablePatternName, c) => 0
^
missing-param-type-tuple.scala:7: error: missing parameter type