summaryrefslogtreecommitdiff
path: root/test/files/specialized/SI-7344.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-09-18 09:01:51 -0700
committerJason Zaugg <jzaugg@gmail.com>2013-09-18 09:01:51 -0700
commitc5fdc815c30f0565a80a3837f368717a4e81e04d (patch)
tree48d2fc9de28b359fa9ef479e78388b9778f4ef52 /test/files/specialized/SI-7344.scala
parent42151a9980be37eae6e8fdf40330070361fd88fd (diff)
parentf4267ccd96a9143c910c66a5b0436aaa64b7c9dc (diff)
downloadscala-c5fdc815c30f0565a80a3837f368717a4e81e04d.tar.gz
scala-c5fdc815c30f0565a80a3837f368717a4e81e04d.tar.bz2
scala-c5fdc815c30f0565a80a3837f368717a4e81e04d.zip
Merge pull request #2961 from paulp/pr/whitespace
Cull extraneous whitespace.
Diffstat (limited to 'test/files/specialized/SI-7344.scala')
-rw-r--r--test/files/specialized/SI-7344.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/specialized/SI-7344.scala b/test/files/specialized/SI-7344.scala
index 1040460bd1..624adb6bbb 100644
--- a/test/files/specialized/SI-7344.scala
+++ b/test/files/specialized/SI-7344.scala
@@ -1,13 +1,13 @@
/* Test for SI-7344, where specialized methods inside the bodies of other
* methods are not specialized, although they might as well be. The name
- * for the specialized method should not be different depending on the
+ * for the specialized method should not be different depending on the
* outside method/class' specialization. */
class Test[@specialized(Int, Double) X](val x: X) {
def checkSpecialization[Y](@specialized(Int, Double) y: Y): X = {
- // checking the specialization using the method name, which we can
+ // checking the specialization using the method name, which we can
// extract from an exception's stack trace. We can match just the
// prefix, since the compiler will add a suffix to the method name
// during lambdalift, when it lifts the local methods outside.
@@ -33,7 +33,7 @@ object Test extends App {
val t2 = new Test(123)
val t3 = new Test(1.3)
- // we want specialization to rewire these,
+ // we want specialization to rewire these,
// that's why they're not in a for loop:
t1.checkSpecialization("x")
@@ -49,5 +49,5 @@ object Test extends App {
// t2.checkSpecialization(1.3)
// t3.checkSpecialization("x")
// t3.checkSpecialization(123)
- // t3.checkSpecialization(1.3)
+ // t3.checkSpecialization(1.3)
}