File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,15 @@ want to make sure you do two things:
4242+ val enableBspAllProjects = true,
4343```
4444
45- 2 . Run ` sbt publishLocal ` to get the needed presentation compiler jars.
45+ 2 . Run in sbt shell ` sbt> scala3-bootstrapped/compile ` and then ` sbt> scala3-bootstrapped/publishLocalBin `
46+ to get the required presentation compiler jars.
47+
48+ If any step fails due to random errors, try removing ` ./out/ ` directory and running ` sbt> clean `
49+
50+ This step has to be repeated every time compiler version has been bumped.
51+
52+
53+
4654
4755By default Metals uses Bloop build server, however you can also use sbt
4856directly. You can achieve this with the ` Metals: Switch Build Server ` command
Original file line number Diff line number Diff line change 1010 | s does not take type parameters
1111 |
1212 | longer explanation available when compiling with `-explain`
13+ -- Error: tests/neg/type-params.scala:17:35 ----------------------------------------------------------------------------
14+ 17 | class WellKindedWrongSyntax[s <: List] // error
15+ | ^^^^
16+ | type List takes type parameters
1317-- Error: tests/neg/type-params.scala:21:26 ----------------------------------------------------------------------------
141821 | object mp extends Monad[Tuple2] // error
1519 | ^^^^^^
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class `various ancient kindedness`:
1414 type t = x[x] // error
1515 trait WellKindedBounded [s <: Throwable ]:
1616 val foo : s[Int ] // error
17- class WellKindedWrongSyntax [s <: List ] // must be s[x] <: List[x] ?
17+ class WellKindedWrongSyntax [s <: List ] // error
1818
1919 class Monad [m[x]]
2020
You can’t perform that action at this time.
0 commit comments