Skip to content

Add missing TASTy Reflect type API #5529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions compiler/src/dotty/tools/dotc/tastyreflect/CoreImpl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ trait CoreImpl extends scala.tasty.reflect.Core {
type ByName = tpd.ByNameTypeTree
type LambdaTypeTree = tpd.LambdaTypeTree
type Bind = tpd.Bind
type Block = tpd.Block
}
type TypeBoundsTree = tpd.TypeBoundsTree
type WildcardType = tpd.TypeTree
Expand All @@ -86,11 +87,26 @@ trait CoreImpl extends scala.tasty.reflect.Core {
type NoPrefix = Types.NoPrefix.type
type TypeBounds = Types.TypeBounds
type Type = Types.Type
type RecursiveType = Types.RecType
type LambdaType[ParamInfo] = Types.LambdaType { type PInfo = ParamInfo }
type MethodType = Types.MethodType
type PolyType = Types.PolyType
type TypeLambda = Types.TypeLambda
type ConstantType = Types.ConstantType
type SymRef = Types.NamedType
type TermRef = Types.NamedType
type TypeRef = Types.NamedType
type SuperType = Types.SuperType
type Refinement = Types.RefinedType
type AppliedType = Types.AppliedType
type AnnotatedType = Types.AnnotatedType
type AndType = Types.AndType
type OrType = Types.OrType
type MatchType = Types.MatchType
type ByNameType = Types.ExprType
type ParamRef = Types.ParamRef
type ThisType = Types.ThisType
type RecursiveThis = Types.RecThis
type RecursiveType = Types.RecType
type LambdaType[ParamInfo] = Types.LambdaType { type PInfo = ParamInfo }
type MethodType = Types.MethodType
type PolyType = Types.PolyType
type TypeLambda = Types.TypeLambda

type ImportSelector = untpd.Tree

Expand Down
Loading