Skip to content

Commit 978ccad

Browse files
committed
fix dead links
1 parent 9427f67 commit 978ccad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_posts/2019-12-18-road-to-scala-3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ By re-compiling an existing library from its TASTy, its class files are regenera
8989

9090
While Scala 3 can generally consume libraries built with Scala 2.13, this does not work for macros. Macro methods defined in 2.13 libraries cannot be used in Scala 3, because the Scala 3 compiler cannot execute the macro at compile-time.
9191

92-
The macro system from Scala 2 is deeply tied to the internals of the Scala 2 compiler and cannot be migrated in a compatible fashion to Scala 3. Instead, Scala 3 ships with a [new macro system](https://dotty.epfl.ch/docs/reference/metaprogramming/toc.html). This means that macro definitions have to be re-written when migrating a codebase to Scala 3. Cross-building is possible by having separate source files for Scala 2 and 3 macro definitions.
92+
The macro system from Scala 2 is deeply tied to the internals of the Scala 2 compiler and cannot be migrated in a compatible fashion to Scala 3. Instead, Scala 3 ships with a [new macro system](https://docs.scala-lang.org/scala3/reference/metaprogramming.html). This means that macro definitions have to be re-written when migrating a codebase to Scala 3. Cross-building is possible by having separate source files for Scala 2 and 3 macro definitions.
9393

9494
Libraries that define macros can be made available for both Scala 2.13 and Scala 3 by cross-compiling.
9595

_posts/2020-11-06-explicit-term-inference-in-scala-3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ This allows you to have more control over imports without relying on instance na
202202
### Find out more
203203

204204
You can learn more about `using` / `given` and about the rules of resolution in
205-
[the documentation](https://dotty.epfl.ch/docs/reference/contextual/motivation.html).
205+
[the documentation](https://docs.scala-lang.org/scala3/reference/contextual.html).
206206

207207
### How was this done in Scala 2?
208208

0 commit comments

Comments
 (0)