diff options
Diffstat (limited to 'src/android-library/scala/ScalaObject.scala')
-rw-r--r-- | src/android-library/scala/ScalaObject.scala | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/android-library/scala/ScalaObject.scala b/src/android-library/scala/ScalaObject.scala new file mode 100644 index 0000000000..67b49cbe4e --- /dev/null +++ b/src/android-library/scala/ScalaObject.scala @@ -0,0 +1,23 @@ +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2002-2008, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ + +// $Id$ + + +package scala + +import Predef._ + +trait ScalaObject extends AnyRef { + + /** This method is needed for optimizing pattern matching expressions + * which match on constructors of case classes. + */ + def $tag(): Int = 0 + +} |