Skip to content

Commit

Permalink
downgrade to scala 3.3 (fixes #87) (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg authored Jul 13, 2024
1 parent 156f927 commit a1833fd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bleep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ templates:
template-nocross:
extends: template-common
scala:
options: -source 3.4
version: 3.4.1
options: -source 3.3
version: 3.3.3
2 changes: 1 addition & 1 deletion site-in/other-features/flexible.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ of integrating Typo piece-by-piece into your code base.

## Developed in the Scala 2/3 shared subset

Everything works on Scala 2.13 and 3.4.
Everything works on Scala 2.13 and 3.3.

For *2.13* you need to set add `-Xsource:3` to `scalacOptions`. The shared subsets shrinks in size for every Scala 3 release, unfortunately.

Expand Down
4 changes: 2 additions & 2 deletions site-in/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ put it in `gen-db.sc` and run `scala-cli gen-db.sc`
// remember to give the project a github star if you like it <3
//
//> using dep "com.olvind.typo::typo:@VERSION@"
//> using scala "3.4.0"
//> using scala "3.4.2"

import typo.*

Expand Down Expand Up @@ -87,7 +87,7 @@ generateFromDb(
## Compiling the generated code

For **Scala 2** you need to set add `-Xsource:3` to `scalacOptions`, with a recent version of Scala 2.13.
For **Scala 3** you'll need 3.4.0 or later.
For **Scala 3** you'll need 3.3.0 or later.

## `selector`
You can customize which relations you generate code for, see [customize selected relations](customization/customize-selected-relations.md)
Expand Down

0 comments on commit a1833fd

Please sign in to comment.