aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/util/DotClass.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/util/DotClass.scala')
-rw-r--r--src/dotty/tools/dotc/util/DotClass.scala12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/dotty/tools/dotc/util/DotClass.scala b/src/dotty/tools/dotc/util/DotClass.scala
deleted file mode 100644
index cdb697a45..000000000
--- a/src/dotty/tools/dotc/util/DotClass.scala
+++ /dev/null
@@ -1,12 +0,0 @@
-package dotty.tools.dotc.util
-
-/** Adds standard functionality to a class.
- * For now: Just the `unsupported` method.
- */
-class DotClass {
-
- /** Throws an `UnsupportedOperationException` with the given method name. */
- def unsupported(methodName: String): Nothing =
- throw new UnsupportedOperationException(s"$getClass.$methodName")
-
-}