Skip to content

Commit 0fe8fdd

Browse files
committed
*
1 parent 02b8695 commit 0fe8fdd

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Variable Declaration
2+
3+
case SyntaxKind.VariableDeclaration:
4+
return checkVariableDeclaration(node as VariableDeclaration);
5+
6+
- checkVariableDeclaration
7+
- checkVariableLikeDeclaration
8+
- const symbol = getSymbolOfDeclaration(node);
9+
10+
Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2
11+
12+
errorNextVariableOrPropertyDeclarationMustHaveSameType
13+
14+
getTypeOfVariableOrParameterOrProperty
15+
getSymbolLinks // get links type: get it from the cache or generate a new type
16+
17+
---
18+
19+
binder: handling symbols
20+
21+
- declareSymbol
22+
-

0 commit comments

Comments
 (0)