File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,12 @@ import java.nio.file.Path
4949 */
5050class ExtractSemanticDB private (phaseMode : ExtractSemanticDB .PhaseMode ) extends Phase :
5151
52- override val phaseName : String = ExtractSemanticDB .phaseNamePrefix + phaseMode.toString()
52+ override val phaseName : String = s """ ${ExtractSemanticDB .phaseNamePrefix}${
53+ import ExtractSemanticDB .PhaseMode .*
54+ phaseMode match
55+ case ExtractSemanticInfo => " ExtractInfo"
56+ case AppendDiagnostics => " AppendDiag"
57+ }"""
5358
5459 override val description : String = ExtractSemanticDB .description
5560
@@ -129,7 +134,7 @@ object ExtractSemanticDB:
129134 import java .nio .file .Files
130135 import java .nio .file .Paths
131136
132- val phaseNamePrefix : String = " extractSemanticDB "
137+ val phaseNamePrefix : String = " semanticDB "
133138 val description : String = " extract info into .semanticdb files"
134139
135140 enum PhaseMode :
Original file line number Diff line number Diff line change @@ -49,5 +49,5 @@ class CollectEntryPoints extends MiniPhase:
4949 }
5050
5151object CollectEntryPoints :
52- val name : String = " Collect entry points "
52+ val name : String = " collectEntryPoints "
5353 val description : String = " collect all entry points and save them in the context"
Original file line number Diff line number Diff line change @@ -44,6 +44,6 @@ class SetRootTree extends Phase {
4444}
4545
4646object SetRootTree {
47- val name : String = " SetRootTree "
47+ val name : String = " setRootTree "
4848 val description : String = " set the rootTreeOrProvider on class symbols"
4949}
You can’t perform that action at this time.
0 commit comments