diff options
author | Martin Odersky <odersky@gmail.com> | 2011-02-10 17:47:52 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-02-10 17:47:52 +0000 |
commit | 2b0f0a57c7b6a88084bf09b3115601e3fbee92b3 (patch) | |
tree | d6da2d4784f4aa9775e061847e94406f14417733 /src/library | |
parent | c8f326e5f6d55892789bc50bb1616f6371a24e7c (diff) | |
download | scala-2b0f0a57c7b6a88084bf09b3115601e3fbee92b3.tar.gz scala-2b0f0a57c7b6a88084bf09b3115601e3fbee92b3.tar.bz2 scala-2b0f0a57c7b6a88084bf09b3115601e3fbee92b3.zip |
Made cooking dependent on a flag rather than a ...
Made cooking dependent on a flag rather than a variable. This way we do
not waste space in Symbols AND we remain sane under cloning. Review by
moors. (there's some debug output that I added to track down a seemingly
not idempotent cooking Donna has when using Eclipse).
Diffstat (limited to 'src/library')
-rwxr-xr-x | src/library/scala/reflect/generic/Flags.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/scala/reflect/generic/Flags.scala b/src/library/scala/reflect/generic/Flags.scala index 17530ff28c..d7c8ff9296 100755 --- a/src/library/scala/reflect/generic/Flags.scala +++ b/src/library/scala/reflect/generic/Flags.scala @@ -77,6 +77,8 @@ class Flags extends ModifierFlags { final val VBRIDGE = 0x40000000000L// symbol is a varargs bridge final val VARARGS = 0x80000000000L// symbol is a Java-style varargs method + final val TRIEDCOOKING = 0x100000000000L // ``Cooking'' has been tried on this symbol + // A Java method's type is ``cooked'' by transforming raw types to existentials // pickling and unpickling of flags |