summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorMichał Pociecha <michal.pociecha@gmail.com>2015-08-22 01:02:46 +0200
committerMichał Pociecha <michal.pociecha@gmail.com>2015-08-23 12:18:15 +0200
commit31ae74f2dd649bd67457492af6305b92a8ea9cf6 (patch)
treee15e154ff828e7ff80a16973605d0a6772a30d15 /test/files/pos
parentf8a6d21a490090bac20b0753c46b91ca2b335049 (diff)
downloadscala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.tar.gz
scala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.tar.bz2
scala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.zip
Fix typos in spec, docs and comments
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t2405.scala4
-rw-r--r--test/files/pos/t8002-nested-scope.scala2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/pos/t2405.scala b/test/files/pos/t2405.scala
index 224b2ce83b..0bc7a771b2 100644
--- a/test/files/pos/t2405.scala
+++ b/test/files/pos/t2405.scala
@@ -6,14 +6,14 @@ object Test1 {
implicitly[Int]
}
-// Testing for the absense of shadowing #1.
+// Testing for the absence of shadowing #1.
object Test2 {
import A.{x => y}
val x = 2
implicitly[Int]
}
-// Testing for the absense of shadowing #2.
+// Testing for the absence of shadowing #2.
object Test3 {
{
import A.{x => y}
diff --git a/test/files/pos/t8002-nested-scope.scala b/test/files/pos/t8002-nested-scope.scala
index a2088bce7a..8ce809e556 100644
--- a/test/files/pos/t8002-nested-scope.scala
+++ b/test/files/pos/t8002-nested-scope.scala
@@ -1,5 +1,5 @@
// This test serves to capture the status quo, but should really
-// emit an accessibiltiy error.
+// emit an accessibility error.
// `Namers#companionSymbolOf` seems too lenient, and currently doesn't
// implement the same-scope checks mentioned: