Dotty is the next generation of Scala compiler, Scala is a new concept of language and compiler technology research platform. The main updates:
The new range of implicit rules:
tp
Is the smallest object reference set S (i.e., the module having symbols TermRef), for:
- If
tp
a class reference, S contains the object class (if present) the reference, andtp
the reference to the parent class - If
tp
it is singleton type, S type base which contains an implicit range - If
tp
another type, which is partially hidden scope (as defined in the specification section) implicit scope combined
Metaprogramming:
code
String interpolation allows the user to get the code to pass a string macro- To before Tasty Reflection, we must implicitly rely on
Reflection
, now it isQuoteContext
See detailed list of release notes