@@ -50,14 +50,13 @@ Typelevel Scala 2.11.8 offers the following fixes and features over Lightbend Sc
50
50
51
51
+ Support for partial unification (ie. a fix for [ SI-2712] [ SI-2712 ] ) &mdash ; merged in Lightbend Scala 2.12.0-RC1.
52
52
53
- An improvement to type inference for type constructors, enabled by the ` -Ypartial-unification ` scalac option (also
54
- enabled in ` -Xexperimental ` mode). This has many benefits for libraries, such as Cats and Scalaz, which make
55
- extensive use of higher-kinded types.
53
+ An improvement to type inference for type constructors, enabled by the ` -Ypartial-unification ` scalac option. This
54
+ has many benefits for libraries, such as Cats and Scalaz, which make extensive use of higher-kinded types.
56
55
57
56
Full details on the [ pull request] [ pr-2712 ] .
58
57
+ Support for literal types (aka SIP-23) &mdash ; proposed for Lightbend Scala 2.12.1.
59
58
60
- Implements [ literal types] [ SIP-23 ] . Enabled by ` -Yliteral-types ` (also enabled in ` -Xexperimental ` mode) .
59
+ Implements [ literal types] [ SIP-23 ] . Enabled by ` -Yliteral-types ` .
61
60
62
61
Literals can now appear in type position, designating the corresponding singleton type. A ` scala.ValueOf[T] ` type
63
62
class and corresponding ` scala.Predef.valueOf[T] ` operator has been added yielding the unique value of types with a
@@ -157,6 +156,10 @@ scalacOptions += "-Yliteral-types" // enable SIP-23 implementation
157
156
Note that Typelevel Scala 2.11.8 replaces the [ si2712fix compiler plugin] [ si2712fix-plugin ] &mdash ; if you are using
158
157
it you should remove it from your build before switching to Typelevel Scala.
159
158
159
+ Also note that the two compiler flags above should be used in preference to ` -Xexperimental ` at present &mdash ; as
160
+ well as enabling the above two features ` -Xexperimental ` also enables some other features which are not typically
161
+ desirable.
162
+
160
163
You now can verify that these features have been enabled from the SBT console,
161
164
162
165
```
0 commit comments