File tree 2 files changed +3
-2
lines changed
test/dotty/tools/dotc/semanticdb 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Compiler {
39
39
List (new CheckShadowing ) :: // Check shadowing elements
40
40
List (new YCheckPositions ) :: // YCheck positions
41
41
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
43
43
List (new PostTyper ) :: // Additional checks and cleanups after type checking
44
44
List (new sjs.PrepJSInterop ) :: // Additional checks and transformations for Scala.js (Scala.js only)
45
45
List (new sbt.ExtractAPI ) :: // Sends a representation of the API of classes to sbt via callbacks
@@ -72,7 +72,7 @@ class Compiler {
72
72
new ExpandSAMs , // Expand single abstract method closures to anonymous classes
73
73
new ElimRepeated , // Rewrite vararg parameters and arguments
74
74
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
76
76
List (new init.Checker ) :: // Check initialization of objects
77
77
List (new ProtectedAccessors , // Add accessors for protected members
78
78
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:
71
71
def collectErrorOrUpdate (expectPath : Path , obtained : String ) =
72
72
if updateExpectFiles then
73
73
Files .write(expectPath, obtained.getBytes(StandardCharsets .UTF_8 ))
74
+ println(" updated: " + expectPath)
74
75
else
75
76
val expected = new String (Files .readAllBytes(expectPath), StandardCharsets .UTF_8 )
76
77
val expectName = expectPath.getFileName
You can’t perform that action at this time.
0 commit comments