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
This tutorial shows how to mix Scala 2.13 and Scala 3 macros in a single artifact.
10
+
This tutorial shows how to mix Scala 2.13 and Scala 3 macros in a single artifact. This means that consumers can use '-Ytasty-reader' from Scala 2.13 code that uses your macros.
11
11
12
-
It can be used to create a new Scala 3 macro library and make it available for Scala 2.13 users.
13
-
It can also be used to port an existing Scala 2.13 macro library to Scala 3, although it is probably easier to cross-build.
12
+
There are two main benefits of this:
13
+
14
+
1. Making a new or existing scala 3 macro library available for Scala 2.13 users without having to provide a separate 2.13 version
15
+
2. Allowing your macros to be usable in multi-project builds that are being upgraded module by module.
0 commit comments