summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala')
-rw-r--r--src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala
index 96d165339b..bbc11037ce 100644
--- a/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala
+++ b/src/compiler/scala/tools/nsc/backend/msil/GenMSIL.scala
@@ -1849,7 +1849,7 @@ abstract class GenMSIL extends SubComponent {
mf = mf | (if (sym isFinal) TypeAttributes.Sealed else 0)
sym.annotations foreach { a => a match {
- case AnnotationInfo(SerializableAttr, _, _, _) =>
+ case AnnotationInfo(SerializableAttr, _, _) =>
// TODO: add the Serializable TypeAttribute also if the annotation
// System.SerializableAttribute is present (.net annotation, not scala)
// Best way to do it: compare with
@@ -1899,7 +1899,7 @@ abstract class GenMSIL extends SubComponent {
// TODO: add this annotation also if the class has the custom attribute
// System.NotSerializedAttribute
sym.annotations.foreach( a => a match {
- case AnnotationInfo(TransientAtt, _, _, _) =>
+ case AnnotationInfo(TransientAtt, _, _) =>
mf = mf | FieldAttributes.NotSerialized
case _ => ()
})
@@ -2118,7 +2118,7 @@ abstract class GenMSIL extends SubComponent {
private def isCloneable(sym: Symbol): Boolean = {
!sym.annotations.forall( a => a match {
- case AnnotationInfo(CloneableAttr, _, _, _) => false
+ case AnnotationInfo(CloneableAttr, _, _) => false
case _ => true
})
}