renamed "lexicaltypevariabletype" to "lexical_type_variable_type"

This commit is contained in:
Erik Krogh Kristensen
2020-09-04 11:55:10 +02:00
parent 9bab197a80
commit 27540e77b1
3 changed files with 4 additions and 4 deletions

View File

@@ -2369,7 +2369,7 @@ class CanonicalTypeVariableType extends TypeVariableType, @canonical_type_variab
* - `<T>(x: T) => T`
* - `<S, T>(x: S, y: T) => T`.
*/
class LexicalTypeVariableType extends TypeVariableType, @lexicaltypevariabletype {
class LexicalTypeVariableType extends TypeVariableType, @lexical_type_variable_type {
override string getName() {
types(this, _, result) // The toString value contains the name.
}

View File

@@ -631,7 +631,7 @@ case @type.kind of
| 16 = @objectkeyword_type
| 17 = @intersection_type
| 18 = @tuple_type
| 19 = @lexicaltypevariabletype
| 19 = @lexical_type_variable_type
| 20 = @thistype
| 21 = @numberliteraltype
| 22 = @stringliteraltype
@@ -643,7 +643,7 @@ case @type.kind of
@booleanliteraltype = @true_type | @false_type;
@symbol_type = @plain_symbol_type | @unique_symbol_type;
@union_or_intersection_type = @union_type | @intersection_type;
@typevariable_type = @canonical_type_variable_type | @lexicaltypevariabletype;
@typevariable_type = @canonical_type_variable_type | @lexical_type_variable_type;
has_asserts_keyword(int node: @predicate_typeexpr ref);

View File

@@ -978,7 +978,7 @@
<v>307</v>
</e>
<e>
<k>@lexicaltypevariabletype</k>
<k>@lexical_type_variable_type</k>
<v>50</v>
</e>
<e>