summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2015-08-23 18:00:27 -0400
committerSeth Tisue <seth@tisue.net>2015-08-23 18:00:27 -0400
commit79171ce68e4cb6953faba31770ec77ccc23c76a9 (patch)
treee9bdd378eac05f844e24b1a6abb7d1661d5e49c3 /test/files/pos
parentf8a6d21a490090bac20b0753c46b91ca2b335049 (diff)
parent4b6395313bec6d0bf0bb9ecab18c6c4a90494c38 (diff)
downloadscala-79171ce68e4cb6953faba31770ec77ccc23c76a9.tar.gz
scala-79171ce68e4cb6953faba31770ec77ccc23c76a9.tar.bz2
scala-79171ce68e4cb6953faba31770ec77ccc23c76a9.zip
Merge pull request #4705 from mpociecha/fix-typos3
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: