mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
199 lines
12 KiB
Diff
199 lines
12 KiB
Diff
--- old.parserRealSource7.errors.txt
|
|
+++ new.parserRealSource7.errors.txt
|
|
@@= skipped -10, +10 lines =@@
|
|
parserRealSource7.ts(34,68): error TS2304: Cannot find name 'TypeCollectionContext'.
|
|
parserRealSource7.ts(35,25): error TS2304: Cannot find name 'ValueLocation'.
|
|
parserRealSource7.ts(36,30): error TS2304: Cannot find name 'TypeLink'.
|
|
-parserRealSource7.ts(41,17): error TS2304: Cannot find name 'FieldSymbol'.
|
|
+parserRealSource7.ts(41,17): error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
|
|
parserRealSource7.ts(43,31): error TS2304: Cannot find name 'SymbolFlags'.
|
|
parserRealSource7.ts(43,54): error TS2304: Cannot find name 'SymbolFlags'.
|
|
parserRealSource7.ts(49,58): error TS2304: Cannot find name 'Type'.
|
|
-parserRealSource7.ts(50,29): error TS2304: Cannot find name 'Signature'.
|
|
+parserRealSource7.ts(50,29): error TS2552: Cannot find name 'Signature'. Did you mean 'signature'?
|
|
parserRealSource7.ts(51,36): error TS2304: Cannot find name 'TypeLink'.
|
|
parserRealSource7.ts(55,30): error TS2304: Cannot find name 'SignatureGroup'.
|
|
parserRealSource7.ts(59,66): error TS2304: Cannot find name 'Type'.
|
|
@@= skipped -36, +36 lines =@@
|
|
parserRealSource7.ts(155,55): error TS2304: Cannot find name 'VarFlags'.
|
|
parserRealSource7.ts(162,51): error TS2339: Property 'getType' does not exist on type 'Symbol'.
|
|
parserRealSource7.ts(165,28): error TS2304: Cannot find name 'ModuleType'.
|
|
-parserRealSource7.ts(169,26): error TS2304: Cannot find name 'TypeSymbol'.
|
|
+parserRealSource7.ts(169,26): error TS2552: Cannot find name 'TypeSymbol'. Did you mean 'typeSymbol'?
|
|
parserRealSource7.ts(186,48): error TS2304: Cannot find name 'AST'.
|
|
parserRealSource7.ts(186,61): error TS2304: Cannot find name 'AST'.
|
|
parserRealSource7.ts(186,75): error TS2304: Cannot find name 'TypeCollectionContext'.
|
|
@@= skipped -25, +25 lines =@@
|
|
parserRealSource7.ts(206,66): error TS2304: Cannot find name 'DualStringHashTable'.
|
|
parserRealSource7.ts(206,90): error TS2304: Cannot find name 'StringHashTable'.
|
|
parserRealSource7.ts(206,113): error TS2304: Cannot find name 'StringHashTable'.
|
|
-parserRealSource7.ts(207,31): error TS2304: Cannot find name 'ModuleType'.
|
|
+parserRealSource7.ts(207,31): error TS2552: Cannot find name 'ModuleType'. Did you mean 'modType'?
|
|
parserRealSource7.ts(209,42): error TS2304: Cannot find name 'TypeFlags'.
|
|
parserRealSource7.ts(211,39): error TS2304: Cannot find name 'ScopedMembers'.
|
|
parserRealSource7.ts(211,57): error TS2304: Cannot find name 'DualStringHashTable'.
|
|
@@= skipped -10, +10 lines =@@
|
|
parserRealSource7.ts(212,64): error TS2304: Cannot find name 'DualStringHashTable'.
|
|
parserRealSource7.ts(212,88): error TS2304: Cannot find name 'StringHashTable'.
|
|
parserRealSource7.ts(212,111): error TS2304: Cannot find name 'StringHashTable'.
|
|
-parserRealSource7.ts(216,30): error TS2304: Cannot find name 'TypeSymbol'.
|
|
-parserRealSource7.ts(231,72): error TS2304: Cannot find name 'NodeType'.
|
|
+parserRealSource7.ts(216,30): error TS2552: Cannot find name 'TypeSymbol'. Did you mean 'typeSymbol'?
|
|
+parserRealSource7.ts(231,72): error TS2552: Cannot find name 'NodeType'. Did you mean 'modType'?
|
|
parserRealSource7.ts(234,27): error TS2304: Cannot find name 'TypeSymbol'.
|
|
parserRealSource7.ts(238,80): error TS2304: Cannot find name 'StringHashTable'.
|
|
parserRealSource7.ts(239,37): error TS2304: Cannot find name 'ScopedMembers'.
|
|
@@= skipped -19, +19 lines =@@
|
|
parserRealSource7.ts(251,38): error TS2304: Cannot find name 'ScopedMembers'.
|
|
parserRealSource7.ts(251,56): error TS2304: Cannot find name 'DualStringHashTable'.
|
|
parserRealSource7.ts(251,107): error TS2304: Cannot find name 'StringHashTable'.
|
|
-parserRealSource7.ts(253,27): error TS2304: Cannot find name 'ModuleType'.
|
|
+parserRealSource7.ts(253,27): error TS2552: Cannot find name 'ModuleType'. Did you mean 'modType'?
|
|
parserRealSource7.ts(255,38): error TS2304: Cannot find name 'TypeFlags'.
|
|
parserRealSource7.ts(272,33): error TS2304: Cannot find name 'SymbolFlags'.
|
|
parserRealSource7.ts(276,33): error TS2304: Cannot find name 'SymbolFlags'.
|
|
@@= skipped -8, +8 lines =@@
|
|
parserRealSource7.ts(289,47): error TS2304: Cannot find name 'AST'.
|
|
parserRealSource7.ts(289,60): error TS2304: Cannot find name 'AST'.
|
|
parserRealSource7.ts(289,74): error TS2304: Cannot find name 'TypeCollectionContext'.
|
|
-parserRealSource7.ts(291,26): error TS2304: Cannot find name 'ClassDeclaration'.
|
|
+parserRealSource7.ts(291,26): error TS2552: Cannot find name 'ClassDeclaration'. Did you mean 'ClassDecorator'?
|
|
parserRealSource7.ts(293,24): error TS2304: Cannot find name 'Type'.
|
|
parserRealSource7.ts(294,27): error TS2304: Cannot find name 'Type'.
|
|
parserRealSource7.ts(295,25): error TS2304: Cannot find name 'TypeSymbol'.
|
|
@@= skipped -34, +34 lines =@@
|
|
parserRealSource7.ts(349,65): error TS2304: Cannot find name 'DualStringHashTable'.
|
|
parserRealSource7.ts(349,89): error TS2304: Cannot find name 'StringHashTable'.
|
|
parserRealSource7.ts(349,112): error TS2304: Cannot find name 'StringHashTable'.
|
|
-parserRealSource7.ts(350,30): error TS2304: Cannot find name 'TypeSymbol'.
|
|
+parserRealSource7.ts(350,30): error TS2552: Cannot find name 'TypeSymbol'. Did you mean 'typeSymbol'?
|
|
parserRealSource7.ts(360,37): error TS2304: Cannot find name 'SymbolFlags'.
|
|
parserRealSource7.ts(364,37): error TS2304: Cannot find name 'SymbolFlags'.
|
|
parserRealSource7.ts(368,37): error TS2304: Cannot find name 'SymbolFlags'.
|
|
@@= skipped -54, +54 lines =@@
|
|
parserRealSource7.ts(477,29): error TS2304: Cannot find name 'ValueLocation'.
|
|
parserRealSource7.ts(478,29): error TS2304: Cannot find name 'hasFlag'.
|
|
parserRealSource7.ts(478,55): error TS2304: Cannot find name 'VarFlags'.
|
|
-parserRealSource7.ts(480,21): error TS2304: Cannot find name 'FieldSymbol'.
|
|
+parserRealSource7.ts(480,21): error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
|
|
parserRealSource7.ts(482,34): error TS2304: Cannot find name 'hasFlag'.
|
|
parserRealSource7.ts(482,60): error TS2304: Cannot find name 'VarFlags'.
|
|
parserRealSource7.ts(492,30): error TS2304: Cannot find name 'getTypeLink'.
|
|
@@= skipped -22, +22 lines =@@
|
|
parserRealSource7.ts(507,52): error TS2304: Cannot find name 'ASTFlags'.
|
|
parserRealSource7.ts(518,22): error TS2304: Cannot find name 'FieldSymbol'.
|
|
parserRealSource7.ts(531,29): error TS2304: Cannot find name 'ValueLocation'.
|
|
-parserRealSource7.ts(533,21): error TS2304: Cannot find name 'FieldSymbol'.
|
|
+parserRealSource7.ts(533,21): error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
|
|
parserRealSource7.ts(535,53): error TS2304: Cannot find name 'VarFlags'.
|
|
parserRealSource7.ts(535,75): error TS2304: Cannot find name 'VarFlags'.
|
|
parserRealSource7.ts(539,38): error TS2304: Cannot find name 'SymbolFlags'.
|
|
@@= skipped -158, +158 lines =@@
|
|
var fieldSymbol =
|
|
new FieldSymbol("prototype", ast.minChar,
|
|
~~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'FieldSymbol'.
|
|
+!!! error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
|
|
+!!! related TS2728 parserRealSource7.ts:40:13: 'fieldSymbol' is declared here.
|
|
context.checker.locationInfo.unitIndex, true, field);
|
|
fieldSymbol.flags |= (SymbolFlags.Property | SymbolFlags.BuiltIn);
|
|
~~~~~~~~~~~
|
|
@@= skipped -17, +18 lines =@@
|
|
!!! error TS2304: Cannot find name 'Type'.
|
|
var signature = new Signature();
|
|
~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'Signature'.
|
|
+!!! error TS2552: Cannot find name 'Signature'. Did you mean 'signature'?
|
|
+!!! related TS2728 parserRealSource7.ts:50:13: 'signature' is declared here.
|
|
signature.returnType = new TypeLink();
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'TypeLink'.
|
|
@@= skipped -183, +184 lines =@@
|
|
|
|
typeSymbol = new TypeSymbol(importDecl.id.text, importDecl.minChar,
|
|
~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'TypeSymbol'.
|
|
+!!! error TS2552: Cannot find name 'TypeSymbol'. Did you mean 'typeSymbol'?
|
|
+!!! related TS2728 parserRealSource7.ts:152:13: 'typeSymbol' is declared here.
|
|
context.checker.locationInfo.unitIndex, modType);
|
|
|
|
typeSymbol.aliasLink = importDecl;
|
|
@@= skipped -88, +89 lines =@@
|
|
!!! error TS2304: Cannot find name 'StringHashTable'.
|
|
modType = new ModuleType(enclosedTypes, ambientEnclosedTypes);
|
|
~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'ModuleType'.
|
|
+!!! error TS2552: Cannot find name 'ModuleType'. Did you mean 'modType'?
|
|
+!!! related TS2728 parserRealSource7.ts:201:13: 'modType' is declared here.
|
|
if (isEnum) {
|
|
modType.typeFlags |= TypeFlags.IsEnum;
|
|
~~~~~~~~~
|
|
@@= skipped -29, +30 lines =@@
|
|
|
|
typeSymbol = new TypeSymbol(modName, moduleDecl.minChar,
|
|
~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'TypeSymbol'.
|
|
+!!! error TS2552: Cannot find name 'TypeSymbol'. Did you mean 'typeSymbol'?
|
|
+!!! related TS2728 parserRealSource7.ts:200:13: 'typeSymbol' is declared here.
|
|
context.checker.locationInfo.unitIndex, modType);
|
|
|
|
if (context.scopeChain.moduleDecl) {
|
|
@@= skipped -17, +18 lines =@@
|
|
else {
|
|
if (symbol && symbol.declAST && symbol.declAST.nodeType != NodeType.ModuleDeclaration) {
|
|
~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'NodeType'.
|
|
+!!! error TS2552: Cannot find name 'NodeType'. Did you mean 'modType'?
|
|
+!!! related TS2728 parserRealSource7.ts:201:13: 'modType' is declared here.
|
|
context.checker.errorReporter.simpleError(moduleDecl, "Conflicting symbol name for module '" + modName + "'");
|
|
}
|
|
typeSymbol = <TypeSymbol>symbol;
|
|
@@= skipped -58, +59 lines =@@
|
|
|
|
modType = new ModuleType(enclosedTypes, ambientEnclosedTypes);
|
|
~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'ModuleType'.
|
|
+!!! error TS2552: Cannot find name 'ModuleType'. Did you mean 'modType'?
|
|
+!!! related TS2728 parserRealSource7.ts:201:13: 'modType' is declared here.
|
|
if (isEnum) {
|
|
modType.typeFlags |= TypeFlags.IsEnum;
|
|
~~~~~~~~~
|
|
@@= skipped -54, +55 lines =@@
|
|
var scopeChain = context.scopeChain;
|
|
var classDecl = <ClassDeclaration>ast;
|
|
~~~~~~~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'ClassDeclaration'.
|
|
+!!! error TS2552: Cannot find name 'ClassDeclaration'. Did you mean 'ClassDecorator'?
|
|
|
|
var classType: Type;
|
|
~~~~
|
|
@@= skipped -127, +127 lines =@@
|
|
!!! error TS2304: Cannot find name 'StringHashTable'.
|
|
typeSymbol = new TypeSymbol(className, classDecl.minChar,
|
|
~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'TypeSymbol'.
|
|
+!!! error TS2552: Cannot find name 'TypeSymbol'. Did you mean 'typeSymbol'?
|
|
+!!! related TS2728 parserRealSource7.ts:295:13: 'typeSymbol' is declared here.
|
|
context.checker.locationInfo.unitIndex, classType);
|
|
typeSymbol.declAST = classDecl;
|
|
typeSymbol.instanceType = instanceType;
|
|
@@= skipped -238, +239 lines =@@
|
|
var fieldSymbol =
|
|
new FieldSymbol(argDecl.id.text, argDecl.minChar,
|
|
~~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'FieldSymbol'.
|
|
+!!! error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
|
|
+!!! related TS2728 parserRealSource7.ts:479:17: 'fieldSymbol' is declared here.
|
|
context.checker.locationInfo.unitIndex,
|
|
!hasFlag(argDecl.varFlags, VarFlags.Readonly),
|
|
~~~~~~~
|
|
@@= skipped -97, +98 lines =@@
|
|
var fieldSymbol =
|
|
new FieldSymbol(varDecl.id.text, varDecl.minChar,
|
|
~~~~~~~~~~~
|
|
-!!! error TS2304: Cannot find name 'FieldSymbol'.
|
|
+!!! error TS2552: Cannot find name 'FieldSymbol'. Did you mean 'fieldSymbol'?
|
|
+!!! related TS2728 parserRealSource7.ts:532:17: 'fieldSymbol' is declared here.
|
|
context.checker.locationInfo.unitIndex,
|
|
(varDecl.varFlags & VarFlags.Readonly) == VarFlags.None,
|
|
~~~~~~~~
|