Skip to content

Commit 5c59360

Browse files
Merge branch 'master' into diagnosticsCleanup
2 parents 9788556 + 6287efc commit 5c59360

File tree

917 files changed

+25526
-3793
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

917 files changed

+25526
-3793
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ tests/*.d.ts
3535
*.config
3636
scripts/debug.bat
3737
scripts/run.bat
38+
coverage/

src/compiler/checker.ts

Lines changed: 420 additions & 247 deletions
Large diffs are not rendered by default.

src/compiler/diagnosticInformationMap.generated.ts

Lines changed: 57 additions & 0 deletions
Large diffs are not rendered by default.

src/compiler/diagnosticMessages.json

Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,186 @@
372372
"category": "Error",
373373
"code": 2023
374374
},
375+
"Public static property '{0}' of exported class has or is using private name '{1}'.": {
376+
"category": "Error",
377+
"code": 2024
378+
},
379+
"Public property '{0}' of exported class has or is using private name '{1}'.": {
380+
"category": "Error",
381+
"code": 2025
382+
},
383+
"Property '{0}' of exported interface has or is using private name '{1}'.": {
384+
"category": "Error",
385+
"code": 2026
386+
},
387+
"Exported variable '{0}' has or is using private name '{1}'.": {
388+
"category": "Error",
389+
"code": 2027
390+
},
391+
"Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'.": {
392+
"category": "Error",
393+
"code": 2028
394+
},
395+
"Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'.": {
396+
"category": "Error",
397+
"code": 2029
398+
},
399+
"Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'.": {
400+
"category": "Error",
401+
"code": 2030
402+
},
403+
"Exported variable '{0}' has or is using name '{1}' from private module '{2}'.": {
404+
"category": "Error",
405+
"code": 2031
406+
},
407+
"Parameter '{0}' of constructor from exported class has or is using private name '{1}'.": {
408+
"category": "Error",
409+
"code": 2032
410+
},
411+
"Parameter '{0}' of public static property setter from exported class has or is using private name '{1}'.": {
412+
"category": "Error",
413+
"code": 2033
414+
},
415+
"Parameter '{0}' of public property setter from exported class has or is using private name '{1}'.": {
416+
"category": "Error",
417+
"code": 2034
418+
},
419+
"Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.": {
420+
"category": "Error",
421+
"code": 2035
422+
},
423+
"Parameter '{0}' of call signature from exported interface has or is using private name '{1}'.": {
424+
"category": "Error",
425+
"code": 2036
426+
},
427+
"Parameter '{0}' of public static method from exported class has or is using private name '{1}'.": {
428+
"category": "Error",
429+
"code": 2037
430+
},
431+
"Parameter '{0}' of public method from exported class has or is using private name '{1}'.": {
432+
"category": "Error",
433+
"code": 2038
434+
},
435+
"Parameter '{0}' of method from exported interface has or is using private name '{1}'.": {
436+
"category": "Error",
437+
"code": 2039
438+
},
439+
"Parameter '{0}' of exported function has or is using private name '{1}'.": {
440+
"category": "Error",
441+
"code": 2040
442+
},
443+
"Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'.": {
444+
"category": "Error",
445+
"code": 2041
446+
},
447+
"Parameter '{0}' of public static property setter from exported class has or is using name '{1}' from private module '{2}'.": {
448+
"category": "Error",
449+
"code": 2042
450+
},
451+
"Parameter '{0}' of public property setter from exported class has or is using name '{1}' from private module '{2}'.": {
452+
"category": "Error",
453+
"code": 2043
454+
},
455+
"Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'.": {
456+
"category": "Error",
457+
"code": 2044
458+
},
459+
"Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'.": {
460+
"category": "Error",
461+
"code": 2045
462+
},
463+
"Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'.": {
464+
"category": "Error",
465+
"code": 2046
466+
},
467+
"Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'.": {
468+
"category": "Error",
469+
"code": 2047
470+
},
471+
"Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'.": {
472+
"category": "Error",
473+
"code": 2048
474+
},
475+
"Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'.": {
476+
"category": "Error",
477+
"code": 2049
478+
},
479+
"Return type of public static property getter from exported class has or is using private name '{0}'.": {
480+
"category": "Error",
481+
"code": 2050
482+
},
483+
"Return type of public property getter from exported class has or is using private name '{0}'.": {
484+
"category": "Error",
485+
"code": 2051
486+
},
487+
"Return type of constructor signature from exported interface has or is using private name '{0}'.": {
488+
"category": "Error",
489+
"code": 2052
490+
},
491+
"Return type of call signature from exported interface has or is using private name '{0}'.": {
492+
"category": "Error",
493+
"code": 2053
494+
},
495+
"Return type of index signature from exported interface has or is using private name '{0}'.": {
496+
"category": "Error",
497+
"code": 2054
498+
},
499+
"Return type of public static method from exported class has or is using private name '{0}'.": {
500+
"category": "Error",
501+
"code": 2055
502+
},
503+
"Return type of public method from exported class has or is using private name '{0}'.": {
504+
"category": "Error",
505+
"code": 2056
506+
},
507+
"Return type of method from exported interface has or is using private name '{0}'.": {
508+
"category": "Error",
509+
"code": 2057
510+
},
511+
"Return type of exported function has or is using private name '{0}'.": {
512+
"category": "Error",
513+
"code": 2058
514+
},
515+
"Return type of public static property getter from exported class has or is using name '{0}' from private module '{1}'.": {
516+
"category": "Error",
517+
"code": 2059
518+
},
519+
"Return type of public property getter from exported class has or is using name '{0}' from private module '{1}'.": {
520+
"category": "Error",
521+
"code": 2060
522+
},
523+
"Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'.": {
524+
"category": "Error",
525+
"code": 2061
526+
},
527+
"Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'.": {
528+
"category": "Error",
529+
"code": 2062
530+
},
531+
"Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'.": {
532+
"category": "Error",
533+
"code": 2063
534+
},
535+
"Return type of public static method from exported class has or is using name '{0}' from private module '{1}'.": {
536+
"category": "Error",
537+
"code": 2064
538+
},
539+
"Return type of public method from exported class has or is using name '{0}' from private module '{1}'.": {
540+
"category": "Error",
541+
"code": 2065
542+
},
543+
"Return type of method from exported interface has or is using name '{0}' from private module '{1}'.": {
544+
"category": "Error",
545+
"code": 2066
546+
},
547+
"Return type of exported function has or is using name '{0}' from private module '{1}'.": {
548+
"category": "Error",
549+
"code": 2067
550+
},
551+
"Import declaration '{0}' is using private name '{1}'.": {
552+
"category": "Error",
553+
"code": 2181
554+
},
375555
"Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.": {
376556
"category": "Error",
377557
"code": 2208
@@ -668,6 +848,54 @@
668848
"category": "Error",
669849
"code": 2248
670850
},
851+
"Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": {
852+
"category": "Error",
853+
"code": 2249
854+
},
855+
"Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": {
856+
"category": "Error",
857+
"code": 2250
858+
},
859+
"Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named.": {
860+
"category": "Error",
861+
"code": 2251
862+
},
863+
"Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named.": {
864+
"category": "Error",
865+
"code": 2252
866+
},
867+
"Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named.": {
868+
"category": "Error",
869+
"code": 2253
870+
},
871+
"Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named.": {
872+
"category": "Error",
873+
"code": 2254
874+
},
875+
"Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named.": {
876+
"category": "Error",
877+
"code": 2255
878+
},
879+
"Return type of public static property getter from exported class has or is using name '{0}' from external module {1} but cannot be named.": {
880+
"category": "Error",
881+
"code": 2256
882+
},
883+
"Return type of public property getter from exported class has or is using name '{0}' from external module {1} but cannot be named.": {
884+
"category": "Error",
885+
"code": 2257
886+
},
887+
"Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named.": {
888+
"category": "Error",
889+
"code": 2258
890+
},
891+
"Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named.": {
892+
"category": "Error",
893+
"code": 2259
894+
},
895+
"Return type of exported function has or is using name '{0}' from external module {1} but cannot be named.": {
896+
"category": "Error",
897+
"code": 2260
898+
},
671899
"Circular definition of import alias '{0}'.": {
672900
"category": "Error",
673901
"code": 3000

0 commit comments

Comments
 (0)