Skip to content

Commit

Permalink
bugfix: Allow Scala 2.11 to be run on newer JVMs
Browse files Browse the repository at this point in the history
Previously, Scala presentation compiler for Scala 2.11 would not work if used on a newer JDK. Now, since the fix was small and there are no plan on releasing Scala 2.11.13 I shadowed the problematic class and that should fix the issue.
  • Loading branch information
tgodzik committed Feb 7, 2024
1 parent 1fb03d4 commit 653f847
Show file tree
Hide file tree
Showing 6 changed files with 1,254 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
command: sbt cross-test-2-11
name: Scala 2.11 cross tests
os: ubuntu-latest
java: "8"
java: "17"
- type: scalafix
command: sbt scalafixCheck docs/docusaurusCreateSite
name: Scalafix and docs
Expand Down
1 change: 1 addition & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ project.excludeFilters = [
"metals-bench/src/main/resources"
"tests/unit/src/test/resources"
"tests/input/src/main/scala"
"mtags/src/main/scala-2.11/scala/tools/nsc/symtab/classfile/ClassfileParser.scala"
]

fileOverride {
Expand Down
Loading

0 comments on commit 653f847

Please sign in to comment.