Skip to content

Commit 08cafa1

Browse files
committed
Fix the scala3-tasty-inspector dependency in tasty-inspect.md
1 parent 4f93df0 commit 08cafa1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/docs/reference/metaprogramming/tasty-inspect.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "TASTy Inspection"
44
---
55

66
```scala
7-
libraryDependencies += "ch.epfl.lamp" %% "scala3-tasty-inspector" % scalaVersion.value
7+
libraryDependencies += "org.scala-lang" %% "scala3-tasty-inspector" % scalaVersion.value
88
```
99

1010
TASTy files contain the full typed tree of a class including source positions
@@ -13,7 +13,6 @@ information from the code. To avoid the hassle of working directly with the TAST
1313
file we provide the `TastyInspector` which loads the contents and exposes it
1414
through the TASTy reflect API.
1515

16-
1716
## Inspecting TASTy files
1817

1918
To inspect the TASTy Reflect trees of a TASTy file a consumer can be defined in
@@ -46,10 +45,12 @@ scalac -d out Test.scala
4645
scala -with-compiler -classpath out Test
4746
```
4847

49-
5048
## Template project
49+
5150
Using sbt version `1.1.5+`, do:
52-
```
51+
52+
```shell
5353
sbt new scala/scala3-tasty-inspector.g8
5454
```
55+
5556
in the folder where you want to clone the template.

0 commit comments

Comments
 (0)