diff options
author | michelou <michelou@epfl.ch> | 2005-05-19 11:45:29 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-05-19 11:45:29 +0000 |
commit | cb4fd037826cf84e0ffa817d315f6d02cad56954 (patch) | |
tree | 9f237668ae41d9f20364b0d564789bc8eb6cf310 | |
parent | 6ba18e0059db87d19a55d5235cbc311022dec088 (diff) | |
download | scala-cb4fd037826cf84e0ffa817d315f6d02cad56954.tar.gz scala-cb4fd037826cf84e0ffa817d315f6d02cad56954.tar.bz2 scala-cb4fd037826cf84e0ffa817d315f6d02cad56954.zip |
- made FUNCTION_OUTER a serializable object.
-rw-r--r-- | sources/scala/runtime/types/TypeConstructor.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/scala/runtime/types/TypeConstructor.java b/sources/scala/runtime/types/TypeConstructor.java index d41edd7569..b1a71916c3 100644 --- a/sources/scala/runtime/types/TypeConstructor.java +++ b/sources/scala/runtime/types/TypeConstructor.java @@ -1,6 +1,6 @@ /* __ * \ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2003, LAMP/EPFL ** +** / __/ __// _ | / / / _ | (c) 2003-2005, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** @@ -27,7 +27,9 @@ public final class TypeConstructor implements java.io.Serializable { public final static TypeConstructor[] EMPTY_ARRAY = new TypeConstructor[0]; - public final static Object FUNCTION_OUTER = new Object(); + private static class Outer implements java.io.Serializable {} + + public final static Object FUNCTION_OUTER = new Outer(); /** Java class corresponding to this constructor. */ public Class clazz; |