aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/DottyPredef.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-02-02 13:01:30 +0100
committerMartin Odersky <odersky@gmail.com>2014-02-02 13:02:41 +0100
commite9d1319273f9353a6f2c877ebb9a8dc8823008a7 (patch)
tree554c552cd6080921e42fca55db9b3fa84a71e72f /src/dotty/DottyPredef.scala
parent7ba59b1f8c86bdad79ceed3d21b1fc83bda76d7b (diff)
downloaddotty-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.scala10
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