summaryrefslogtreecommitdiff
path: root/test/files/run/spec-absfun.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2010-04-09 15:42:34 +0000
committerIulian Dragos <jaguarul@gmail.com>2010-04-09 15:42:34 +0000
commit710e1cb6c4029f39bdd1eece975dbb3cdfafdeda (patch)
tree9d2fd741d17d2410b571f72bed5d7e5525ad5440 /test/files/run/spec-absfun.scala
parentd76943f9ae43176980f21f90f400053fe2da3fbf (diff)
downloadscala-710e1cb6c4029f39bdd1eece975dbb3cdfafdeda.tar.gz
scala-710e1cb6c4029f39bdd1eece975dbb3cdfafdeda.tar.bz2
scala-710e1cb6c4029f39bdd1eece975dbb3cdfafdeda.zip
Changed the syntax of the specialized annotation:
instead of a flaky string, it now takes a repeated parameter list of primitive types: @specialized("Int, Double") becomes @specialized(Int, Double). No review.
Diffstat (limited to 'test/files/run/spec-absfun.scala')
-rw-r--r--test/files/run/spec-absfun.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/spec-absfun.scala b/test/files/run/spec-absfun.scala
index ab16e8febc..2b780548f5 100644
--- a/test/files/run/spec-absfun.scala
+++ b/test/files/run/spec-absfun.scala
@@ -37,7 +37,7 @@ class Pair[A](_first: A, _second: A) {
def second = _second
}
-class SpecializedPair[@specialized("Int") A](_first: A, _second: A) {
+class SpecializedPair[@specialized(Int) A](_first: A, _second: A) {
def first = _first
def second = _second
}