aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 16:11:59 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 16:11:59 +0200
commit9602523e0b6b89b73f77ac45f9a5b58060fcd6cf (patch)
tree1931f9408365849418261673826be15666b150ff /src/dotty/tools/dotc/typer/Typer.scala
parent34e77a9fe24106728a21d6d88a7ee8e42cca4dae (diff)
downloaddotty-9602523e0b6b89b73f77ac45f9a5b58060fcd6cf.tar.gz
dotty-9602523e0b6b89b73f77ac45f9a5b58060fcd6cf.tar.bz2
dotty-9602523e0b6b89b73f77ac45f9a5b58060fcd6cf.zip
Replace tabs with 4 spaces in Dotty source.
Diffstat (limited to 'src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--src/dotty/tools/dotc/typer/Typer.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala
index 4bb9b90d4..b066f1fc1 100644
--- a/src/dotty/tools/dotc/typer/Typer.scala
+++ b/src/dotty/tools/dotc/typer/Typer.scala
@@ -347,8 +347,8 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
val clsDef = TypeDef(x, templ).withFlags(Final)
typed(cpy.Block(tree)(clsDef :: Nil, New(Ident(x), Nil)), pt)
case _ =>
- val tpt1 = typedType(tree.tpt)
- checkClassTypeWithStablePrefix(tpt1.tpe, tpt1.pos, traitReq = false)
+ val tpt1 = typedType(tree.tpt)
+ checkClassTypeWithStablePrefix(tpt1.tpe, tpt1.pos, traitReq = false)
assignType(cpy.New(tree)(tpt1), tpt1)
// todo in a later phase: checkInstantiatable(cls, tpt1.pos)
}