Skip to content

Commit

Permalink
add explicit result types
Browse files Browse the repository at this point in the history
  • Loading branch information
bishabosha committed Nov 2, 2023
1 parent 88dd1ca commit 02ec718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ object TastyUnpickler {
end Scala3CompilerConfig

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

}

Expand Down
2 changes: 1 addition & 1 deletion tasty/src/dotty/tools/tasty/TastyHeaderUnpickler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ object UnpicklerConfig {
}

/** A config for the TASTy reader of a generic tool */
val generic = new UnpicklerConfig with Generic with DefaultTastyVersion {}
val generic: UnpicklerConfig = new UnpicklerConfig with Generic with DefaultTastyVersion {}
}

class TastyHeaderUnpickler(config: UnpicklerConfig, reader: TastyReader) {
Expand Down

0 comments on commit 02ec718

Please sign in to comment.