blob: f74a4ba818733270a3c42cc76a354c8f340e9e3a (
plain) (
tree)
|
|
package dotty.tools.dotc.core
/** 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")
}
|