aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Compiler.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-08-24 17:34:47 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-08-24 17:39:46 +0200
commit56b1951b5763a3a77230f8b405e17b2e3ed2c988 (patch)
tree93224b1df725d041769aa163cc1874dcf74dcd9f /src/dotty/tools/dotc/Compiler.scala
parenta33eece6c72d2c9b36b0d279fe0e3718b7dda817 (diff)
downloaddotty-56b1951b5763a3a77230f8b405e17b2e3ed2c988.tar.gz
dotty-56b1951b5763a3a77230f8b405e17b2e3ed2c988.tar.bz2
dotty-56b1951b5763a3a77230f8b405e17b2e3ed2c988.zip
Add comment to Compiler.scala about behaviour of Constructors
Diffstat (limited to 'src/dotty/tools/dotc/Compiler.scala')
-rw-r--r--src/dotty/tools/dotc/Compiler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala
index f753b7614..e4b328a82 100644
--- a/src/dotty/tools/dotc/Compiler.scala
+++ b/src/dotty/tools/dotc/Compiler.scala
@@ -71,7 +71,7 @@ class Compiler {
new LinkScala2ImplClasses,
new NonLocalReturns,
new CapturedVars, // capturedVars has a transformUnit: no phases should introduce local mutable vars here
- new Constructors,
+ new Constructors, // constructors changes decls in transformTemplate, no InfoTransformers should be added after it
new FunctionalInterfaces,
new GetClass), // getClass transformation should be applied to specialized methods
List(new LambdaLift, // in this mini-phase block scopes are incorrect. No phases that rely on scopes should be here