Skip to content

Commit a59ef92

Browse files
authored
mention -Ytasty-reader in connection with macro mixing
1 parent a2934a5 commit a59ef92

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_overviews/scala3-migration/tutorial-macro-mixing.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ previous-page: tutorial-macro-mixing
77
next-page: tooling-syntax-rewriting
88
---
99

10-
This tutorial shows how to mix Scala 2.13 and Scala 3 macros in a single artifact. There are two main benefits of this:
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+
12+
There are two main benefits of this:
1113

1214
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
13-
2. Allowing multi-project builds to be upgraded module by module, even where macro libraries are used.
15+
2. Allowing your macros to be usable in multi-project builds that are being upgraded module by module.
1416

1517
## Introduction
1618

0 commit comments

Comments
 (0)