diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2010-02-09 19:21:34 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2010-02-09 19:21:34 +0000 |
commit | 5087792ddace9cc76d063d6cc9327eb41c73b52d (patch) | |
tree | 03ced4061e206113a670926c4b4f53916eff4a85 /test/files | |
parent | d983dc8c265c5cef432c4cf0a163455dccc0c17f (diff) | |
download | scala-5087792ddace9cc76d063d6cc9327eb41c73b52d.tar.gz scala-5087792ddace9cc76d063d6cc9327eb41c73b52d.tar.bz2 scala-5087792ddace9cc76d063d6cc9327eb41c73b52d.zip |
Fixed partially specialized classes.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/spec-partially.flags | 1 | ||||
-rw-r--r-- | test/files/pos/spec-partially.scala | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/spec-partially.flags b/test/files/pos/spec-partially.flags new file mode 100644 index 0000000000..a5f3e74f73 --- /dev/null +++ b/test/files/pos/spec-partially.flags @@ -0,0 +1 @@ +-Yspecialized diff --git a/test/files/pos/spec-partially.scala b/test/files/pos/spec-partially.scala new file mode 100644 index 0000000000..90778e42a8 --- /dev/null +++ b/test/files/pos/spec-partially.scala @@ -0,0 +1,5 @@ +/** Test case for partially specialized classes. see #2880. */ + +class Arc[State, @specialized T](label: T, to: State) + + |