Skip to content

Commit ab1ef74

Browse files
committed
Add reference to Scala 2020 inlinng paper
1 parent 758782a commit ab1ef74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/docs/reference/metaprogramming/inline.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,5 +639,7 @@ transparent inline def summonInline[T]: T = summonFrom {
639639

640640
### Reference
641641

642-
For more information, see [PR #4768](https://github.com/lampepfl/dotty/pull/4768),
642+
For more information about the semantics of `inline`, see the [Scala 2020: Semantics-preserving inlining for metaprogramming](https://dl.acm.org/doi/10.1145/3426426.3428486) paper.
643+
644+
For more information about compiletime operation, see [PR #4768](https://github.com/lampepfl/dotty/pull/4768),
643645
which explains how `summonFrom`'s predecessor (implicit matches) can be used for typelevel programming and code specialization and [PR #7201](https://github.com/lampepfl/dotty/pull/7201) which explains the new `summonFrom` syntax.

0 commit comments

Comments
 (0)