Skip to content

Commit ad26069

Browse files
committed
Fix class names in 'KaType' documentation
1 parent eea50c3 commit ad26069

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Writerside/topics/KaType.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,23 @@ abbreviated type.
2020

2121
## Subtypes
2222

23-
The `KtType` interface has several subtypes that represent different kinds of types in Kotlin:
23+
The `KaType` interface has several subtypes that represent different kinds of types in Kotlin:
2424

25-
* **KtClassType**: Represents a Kotlin class type, encompassing classes, interfaces, objects, and enum classes.
26-
* **KtFunctionalType**: Represents Kotlin function types, including regular functions, suspend functions, and those with
27-
receivers.
28-
* **KtTypeParameterType**: Represents a type parameter type, such as `T` in the
25+
* **KaClassType**: Represents a Kotlin class type, encompassing classes, interfaces, objects, and enum classes.
26+
* **KaUsualClassType**: Represents a class type that is not a function type.
27+
* **KaFunctionType**: Represents Kotlin function types, including regular functions, suspend functions, and those with
28+
receivers.
29+
* **KaTypeParameterType**: Represents a type parameter type, such as `T` in the
2930
declaration `class Box<T>(val element: T)`.
30-
* **KtDefinitelyNotNullType**: Represents a type that is known to be non-nullable at a particular point in the program.
31-
* **KtCapturedType**: Represents a type that is captured during type inference, often occurring when working with
31+
* **KaDefinitelyNotNullType**: Represents a type that is known to be non-nullable at a particular point in the program.
32+
* **KaCapturedType**: Represents a type that is captured during type inference, often occurring when working with
3233
generics and variance.
33-
* **KtFlexibleType**: Represents a type with flexibility in its bounds, commonly used for platform types or types with
34+
* **KaFlexibleType**: Represents a type with flexibility in its bounds, commonly used for platform types or types with
3435
uncertain nullability.
35-
* **KtIntersectionType**: Represents a type formed by the intersection of multiple types.
36-
* **KtDynamicType**: Represents the dynamic type in Kotlin, used for interoperability with dynamically-typed languages
36+
* **KaIntersectionType**: Represents a type formed by the intersection of multiple types.
37+
* **KaDynamicType**: Represents the dynamic type in Kotlin, used for interoperability with dynamically-typed languages
3738
or platforms.
39+
* **KaErrorType**: Represents an unresolved type of some kind.
3840

3941
## Transformation utilities
4042

0 commit comments

Comments
 (0)