Skip to content

Commit 053e644

Browse files
committed
Restore removed comment
1 parent 2857632 commit 053e644

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Compiler {
3939
List(new CheckShadowing) :: // Check shadowing elements
4040
List(new YCheckPositions) :: // YCheck positions
4141
List(new sbt.ExtractDependencies) :: // Sends information on classes' dependencies to sbt via callbacks
42-
List(new semanticdb.ExtractSemanticDB.ExtractSemanticInfo) :: // Extract info and attach to the tree of the unit file
42+
List(new semanticdb.ExtractSemanticDB.ExtractSemanticInfo) :: // Extract info into .semanticdb files
4343
List(new PostTyper) :: // Additional checks and cleanups after type checking
4444
List(new sjs.PrepJSInterop) :: // Additional checks and transformations for Scala.js (Scala.js only)
4545
List(new sbt.ExtractAPI) :: // Sends a representation of the API of classes to sbt via callbacks
@@ -72,7 +72,7 @@ class Compiler {
7272
new ExpandSAMs, // Expand single abstract method closures to anonymous classes
7373
new ElimRepeated, // Rewrite vararg parameters and arguments
7474
new RefChecks) :: // Various checks mostly related to abstract members and overriding
75-
List(new semanticdb.ExtractSemanticDB.AppendDiagnostics) :: // Attach warnings to extracted SemanticDB and write to .semanticdb file
75+
// List(new semanticdb.ExtractSemanticDB.AppendDiagnostics) :: // Attach warnings to extracted SemanticDB and write to .semanticdb file
7676
List(new init.Checker) :: // Check initialization of objects
7777
List(new ProtectedAccessors, // Add accessors for protected members
7878
new ExtensionMethods, // Expand methods of value classes with extension methods

compiler/test/dotty/tools/dotc/semanticdb/SemanticdbTests.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class SemanticdbTests:
7171
def collectErrorOrUpdate(expectPath: Path, obtained: String) =
7272
if updateExpectFiles then
7373
Files.write(expectPath, obtained.getBytes(StandardCharsets.UTF_8))
74+
println("updated: " + expectPath)
7475
else
7576
val expected = new String(Files.readAllBytes(expectPath), StandardCharsets.UTF_8)
7677
val expectName = expectPath.getFileName

0 commit comments

Comments
 (0)