Skip to content

Commit e2d2e28

Browse files
authored
Merge pull request #6753 from lampepfl/anatoliykmetyuk-patch-1
Add compiler dependency instructions to macro docs
2 parents 22f2485 + 4a85880 commit e2d2e28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/docs/reference/metaprogramming/staging.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,9 @@ compilation we need make available the compiler to the runtime:
9393
```shell
9494
sbt:dotty> dotr -classpath out -with-compiler Test
9595
```
96+
97+
Or, from SBT:
98+
99+
```scala
100+
libraryDependencies += "ch.epfl.lamp" %% "dotty-compiler" % scalaVersion.value
101+
```

0 commit comments

Comments
 (0)