File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
test/dotty/tools/dotc/semanticdb Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments