Commit bf2ac88
committed
Implement Reflection API directly
Revert to the original design with abstract modules that are implemented directly.
We had to move the implementations to the compiler interface with one of the iterations of extension methods.
The current extension methods are again compatible with this design.
CompilerInterface is kept for the internal methods that are only available in the stdlib.
* Now Reflection contains the full user-facing API
* CompilerInterface only contains internal methods used in the stdlib
* tasty.refelct.Types was merged into Reflection
* QuoteContextImpl implements every member directly
* All members of tasty are lazily initialized using object
* Fix defn.NullClass
* Fix typo in Flags.Accessor
* Rename Scala2X to Scala2x to follow dotty conventions1 parent 03a02de commit bf2ac88
File tree
10 files changed
+4189
-4762
lines changed- compiler/src/dotty/tools/dotc
- quoted
- reflect
- transform
- library/src/scala
- internal/tasty
- tasty
- reflect
- tests/run-macros
10 files changed
+4189
-4762
lines changedLines changed: 2379 additions & 3 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 2115 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
0 commit comments