LowLevelApi/Semantic/Example #12575
Unanswered
dduquesne
asked this question in
Metaprogramming
Replies: 1 comment
-
trait A { type X; val x: X }
val a: A = ...
val b: a.X = a.x
val c: a.type = a In the example above The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have some issue understanding the low level API.
Especially these 4 objects below :
+- Term --------+- Ref -+- Ident
+- Select
+- TypeRepr -+- NamedType -+- TermRef
+- TypeRef
I have found few information/example in Scala3 syntaxe summary.
But i am still lost and do not see completely the source code represented by each one.
Any example would be realy welcome.
Thank for your help,
Beta Was this translation helpful? Give feedback.
All reactions