blob: 7839fc37d5ef038e4e1f8b4e7a3dfd86122029d4 (
plain) (
tree)
|
|
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")
}
|