diff options
author | Martin Odersky <odersky@gmail.com> | 2015-04-23 21:06:42 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-04-23 21:06:42 +0200 |
commit | 2b3591cec6a1d58f3346b6c8933ca0742f13c1cf (patch) | |
tree | f334787708775f72a8f4bdf10e384a89460414a8 /src/dotty/tools/dotc/transform/TypeUtils.scala | |
parent | 36c229ba8c3d44546b34446ca36c8f335a9c5f47 (diff) | |
download | dotty-2b3591cec6a1d58f3346b6c8933ca0742f13c1cf.tar.gz dotty-2b3591cec6a1d58f3346b6c8933ca0742f13c1cf.tar.bz2 dotty-2b3591cec6a1d58f3346b6c8933ca0742f13c1cf.zip |
Remove trailing whitespace
I have figured out how to make this the default in Eclipse, so hopefully
we won't see many repeats of this.
Diffstat (limited to 'src/dotty/tools/dotc/transform/TypeUtils.scala')
-rw-r--r-- | src/dotty/tools/dotc/transform/TypeUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/TypeUtils.scala b/src/dotty/tools/dotc/transform/TypeUtils.scala index 5ef1e5ed3..c01b6478c 100644 --- a/src/dotty/tools/dotc/transform/TypeUtils.scala +++ b/src/dotty/tools/dotc/transform/TypeUtils.scala @@ -26,7 +26,7 @@ class TypeUtils(val self: Type) extends AnyVal { def isPrimitiveValueType(implicit ctx: Context): Boolean = self.classSymbol.isPrimitiveValueClass - + def ensureMethodic(implicit ctx: Context): Type = self match { case self: MethodicType => self case _ => ExprType(self) |