diff options
author | Martin Odersky <odersky@gmail.com> | 2013-11-22 18:12:42 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-11-22 18:12:42 +0100 |
commit | 9e1bf7743355de040a23fbcfe9b1efb9b1db1789 (patch) | |
tree | c12488e5c5756bccfcf34ff3407c696b0e543b54 /src/dotty/tools/dotc/typer/Typer.scala | |
parent | 3d98269f2db2542373f76f519fd3643b7bcf75cf (diff) | |
download | dotty-9e1bf7743355de040a23fbcfe9b1efb9b1db1789.tar.gz dotty-9e1bf7743355de040a23fbcfe9b1efb9b1db1789.tar.bz2 dotty-9e1bf7743355de040a23fbcfe9b1efb9b1db1789.zip |
Renaming: typeConstructor -> typeRef
Diffstat (limited to 'src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r-- | src/dotty/tools/dotc/typer/Typer.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala index 4242b5c99..54e105238 100644 --- a/src/dotty/tools/dotc/typer/Typer.scala +++ b/src/dotty/tools/dotc/typer/Typer.scala @@ -472,7 +472,7 @@ class Typer extends Namer with Applications with Implicits { val untpd.Function(args, body) = tree if (ctx.mode is Mode.Type) typed(cpy.AppliedTypeTree(tree, - ref(defn.FunctionClass(args.length).typeConstructor), args :+ body), pt) + ref(defn.FunctionClass(args.length).typeRef), args :+ body), pt) else { val params = args.asInstanceOf[List[ValDef]] val protoFormals: List[Type] = pt match { @@ -710,7 +710,7 @@ class Typer extends Namer with Applications with Implicits { } def typedAnnotation(annot: untpd.Tree)(implicit ctx: Context): Tree = track("typedAnnotation") { - typed(annot, defn.AnnotationClass.typeConstructor) + typed(annot, defn.AnnotationClass.typeRef) } def typedValDef(vdef: untpd.ValDef, sym: Symbol)(implicit ctx: Context) = track("typedValDef") { @@ -768,7 +768,7 @@ class Typer extends Namer with Applications with Implicits { } def typedAnnotated(tree: untpd.Annotated, pt: Type)(implicit ctx: Context): Tree = track("typedAnnotated") { - val annot1 = typed(tree.annot, defn.AnnotationClass.typeConstructor) + val annot1 = typed(tree.annot, defn.AnnotationClass.typeRef) val arg1 = typed(tree.arg, pt) val ownType = AnnotatedType(Annotation(annot1), arg1.tpe) if (ctx.mode is Mode.Type) |