Swift: rename base_types to syntactic_base_types in TypeDecl

This commit is contained in:
Paolo Tranquilli
2023-09-14 09:50:37 +02:00
parent 111227e763
commit 4d3aecfff6
16 changed files with 64 additions and 53 deletions

View File

@@ -261,7 +261,10 @@ class PrefixOperatorDecl(OperatorDecl):
class TypeDecl(ValueDecl):
name: string
base_types: list[Type]
inherited_types: list[Type] | desc("""
This only returns the types effectively appearing in the declaration. In particular it
will not resolve `TypeAliasDecl`s or consider base types added by extensions.
""")
class AbstractTypeParamDecl(TypeDecl):
pass