Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Kipp <ckipp@pm.me>
  • Loading branch information
nicolasstucki and ckipp01 committed May 12, 2023
1 parent 0fb4800 commit 979c9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasty/src/dotty/tools/tasty/TastyHeaderUnpickler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ object TastyHeaderUnpickler {
val fileMinorVersion = showMinorVersion(fileMinor, fileExperimental)

if (MajorVersion == 28 && fileMajor == 28)
s"""Found a file on classpath, that was compiled with a newer Scala version than the one currently used.
s"""Found a file on classpath that was compiled with a newer Scala version than the one currently used.
| Found: 3.$fileMinorVersion
| Supported: 3.$minorVersion or older
|
| Try updating your Scala version to 3.$fileMinorVersion or change the classpath.""".stripMargin
| To fix this issue, try updating your Scala version to 3.$fileMinorVersion.""".stripMargin
else
// This should not happen in practice but better safe than sorry
s"""TASTy signature has wrong version that cannot be expressed as Scala version.
Expand Down

0 comments on commit 979c9dc

Please sign in to comment.