You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default `scala2Library` is set to `Scala2LibraryJar`. This setting can be set to stop using the Scala 2 library TASTy.
187
+
```
188
+
> set ThisBuild/Build.scala2Library := Build.Scala2LibraryJar
189
+
```
190
+
191
+
#### Scala 2 library with CC TASTy tests
192
+
These follow the same structure as the _Scala 2 library TASTy tests_ but add captured checked signatures to the library. The library is compiled in `scala2-library-cc` (instead of `scala2-library-bootstrapped`) and `scala2-library-cc-tasty` (instead of `scala2-library-cc-tasty`).
193
+
194
+
We can also enable this library in the build using the SBT setting `useScala2LibraryTasty`.
195
+
```
196
+
> set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty
197
+
```
198
+
199
+
186
200
### From TASTy tests
187
201
188
202
`testCompilation` has an additional mode to run tests that compile code from a `.tasty` file.
0 commit comments