Dotty 0.17.0-RC1, Scala's next-generation compiler

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:

tpIs the smallest object reference set S (i.e., the module having symbols TermRef), for:

  • If tpa class reference, S contains the object class (if present) the reference, and tpthe reference to the parent class
  • If tpit is singleton type, S type base which contains an implicit range
  • If tpanother type, which is partially hidden scope (as defined in the specification section) implicit scope combined

Metaprogramming:

  • codeString 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

Guess you like

Origin www.oschina.net/news/108592/dotty-0-17-0-rc-1-released