Skip to content

Commit 4634481

Browse files
committed
Add comment to phase
1 parent 18a5227 commit 4634481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/Compiler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Compiler {
106106
List(new ElimErasedValueType, // Expand erased value types to their underlying implmementation types
107107
new PureStats, // Remove pure stats from blocks
108108
new VCElideAllocations, // Peep-hole optimization to eliminate unnecessary value class allocations
109-
new EtaReduce,
109+
new EtaReduce, // Reduce eta expansions of pure paths to the underlying function reference
110110
new ArrayApply, // Optimize `scala.Array.apply([....])` and `scala.Array.apply(..., [....])` into `[...]`
111111
new sjs.AddLocalJSFakeNews, // Adds fake new invocations to local JS classes in calls to `createLocalJSClass`
112112
new ElimPolyFunction, // Rewrite PolyFunction subclasses to FunctionN subclasses

0 commit comments

Comments
 (0)