Skip to content

Commit 02ec718

Browse files
committed
add explicit result types
1 parent 88dd1ca commit 02ec718

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/core/tasty/TastyUnpickler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ object TastyUnpickler {
5656
end Scala3CompilerConfig
5757

5858
/** A config for the TASTy reader of a scala 3 compiler */
59-
val scala3CompilerConfig = new Scala3CompilerConfig with UnpicklerConfig.DefaultTastyVersion {}
59+
val scala3CompilerConfig: UnpicklerConfig = new Scala3CompilerConfig with UnpicklerConfig.DefaultTastyVersion {}
6060

6161
}
6262

tasty/src/dotty/tools/tasty/TastyHeaderUnpickler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ object UnpicklerConfig {
7474
}
7575

7676
/** A config for the TASTy reader of a generic tool */
77-
val generic = new UnpicklerConfig with Generic with DefaultTastyVersion {}
77+
val generic: UnpicklerConfig = new UnpicklerConfig with Generic with DefaultTastyVersion {}
7878
}
7979

8080
class TastyHeaderUnpickler(config: UnpicklerConfig, reader: TastyReader) {

0 commit comments

Comments
 (0)