diff options
author | Martin Odersky <odersky@gmail.com> | 2014-02-02 13:01:30 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-02-02 13:02:41 +0100 |
commit | e9d1319273f9353a6f2c877ebb9a8dc8823008a7 (patch) | |
tree | 554c552cd6080921e42fca55db9b3fa84a71e72f /src/dotty/DottyPredef.scala | |
parent | 7ba59b1f8c86bdad79ceed3d21b1fc83bda76d7b (diff) | |
download | dotty-e9d1319273f9353a6f2c877ebb9a8dc8823008a7.tar.gz dotty-e9d1319273f9353a6f2c877ebb9a8dc8823008a7.tar.bz2 dotty-e9d1319273f9353a6f2c877ebb9a8dc8823008a7.zip |
Rename dotty.Predef -> dotty.DottyPredef
to avoid accidental confusion with scala.Predef
Diffstat (limited to 'src/dotty/DottyPredef.scala')
-rw-r--r-- | src/dotty/DottyPredef.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dotty/DottyPredef.scala b/src/dotty/DottyPredef.scala new file mode 100644 index 000000000..3ffa4049f --- /dev/null +++ b/src/dotty/DottyPredef.scala @@ -0,0 +1,10 @@ +package dotty + +import scala.reflect.ClassTag +import scala.reflect.runtime.universe.TypeTag + +object DottyPredef { + /** implicits for ClassTag and TypeTag. Should be implemented with macros */ + implicit def classTag[T]: ClassTag[T] = ??? + implicit def typeTag[T]: TypeTag[T] = ??? +}
\ No newline at end of file |