We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003e160 commit 100ba0eCopy full SHA for 100ba0e
scala3/guides/tasty-overview.md
@@ -52,6 +52,13 @@ $ scalac | Hello.scala | -> | Hello.tasty | -> | Hello.class |
52
information)
53
```
54
55
+You can view the contents of a _.tasty_ file in a human-readable form by running the compiler on it with the `-print-tasty` flag.
56
+You can also view the contents decompiled in a form similar to Scala source code using the `-decompile` flag.
57
+```bash
58
+$ scalac -print-tasty hello.tasty
59
+$ scalac -decompile hello.tasty
60
+```
61
+
62
### The issue with _.class_ files
63
64
Because of issues such as [type erasure][erasure], _.class_ files are actually an incomplete representation of your code.
0 commit comments