Commit Graph

7976 Commits

Author SHA1 Message Date
Vladimir Matveev
cc25f2c588 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-11-28 12:42:07 -08:00
Daniel Rosenwasser
2f282a786a Merge pull request #5566 from jeffreymorlan/fix5444
Fix issue #5444
2015-11-28 12:00:26 -08:00
Jeffrey Morlan
ed453ddcfc Add comment 2015-11-28 10:41:37 -08:00
Nathan Yee
d9d67d9003 Move initializer checks into checkGrammarProperty 2015-11-27 22:17:35 -08:00
Nathan Yee
6c755c90db Report property errors in the checker instead of the parser 2015-11-27 18:11:28 -08:00
Wesley Wigham
54ab1e99c0 fix module record nonambiguous case, add test for it 2015-11-26 14:24:12 -08:00
Vladimir Matveev
4e3cba1f7c Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-11-25 21:23:45 -08:00
Wesley Wigham
22eecaa471 Merge branch 'master' into duplicate-export-behavior 2015-11-25 18:37:10 -08:00
Wesley Wigham
8c40dc8fae Merge branch 'master' into duplicate-export-behavior 2015-11-25 17:54:08 -08:00
Wesley Wigham
d74ab2eac7 Merge branch 'master' into autohoist-default 2015-11-25 17:52:51 -08:00
Yui T
62fb5e85e4 Include debug assert 2015-11-25 17:33:11 -08:00
Wesley Wigham
adc3f2bd19 update description 2015-11-25 17:27:07 -08:00
Wesley Wigham
c9b3b7e42e Merge pull request #5661 from weswigham/use-common-directory-for-out
Use common source directory for calculating concatenated module paths
2015-11-25 17:18:48 -08:00
Wesley Wigham
ec775ba4aa Merge pull request #5648 from weswigham/default-commonjs-es6
Handle default class exports when targeting es6 with non-es6 module kinds
2015-11-25 17:15:06 -08:00
Wesley Wigham
d1c467ff4d Merge branch 'master' into use-common-directory-for-out 2015-11-25 16:41:58 -08:00
Vladimir Matveev
0377e7ad75 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-11-25 16:41:51 -08:00
Vladimir Matveev
62370a0d08 addressed PR feedback 2015-11-25 16:41:09 -08:00
Nathan Shively-Sanders
57f1844e08 Change variable naming 2015-11-25 14:45:04 -08:00
Ron Buckton
04d53c1cfe Simpler inline cycle check for stringify 2015-11-25 14:35:44 -08:00
Ron Buckton
6bc2c069a6 Missed linter error. 2015-11-25 13:53:30 -08:00
Ron Buckton
b33eff1143 PR feedback 2015-11-25 12:47:32 -08:00
Vladimir Matveev
937ce71a12 Merge pull request #5733 from Microsoft/unconditionalNoImplicitReturns
apply 'noImplicitReturns' rule for functions that don't have type an…
2015-11-25 12:25:51 -08:00
Yui T
c5a2969255 check for null 2015-11-25 11:41:51 -08:00
Nathan Shively-Sanders
e4e0667a87 Improve variable naming
Change `localErrors` to `reportMoreErrors` to more accurately reflect what
the variable does.
2015-11-25 11:10:35 -08:00
Nathan Shively-Sanders
c87c1e9b3f Improve error message
And accept baselines
2015-11-25 10:51:31 -08:00
Nathan Shively-Sanders
f42841c846 Only report errors from the first failure
Accept the new baselines based on this change. Gets rid of a lot of
redundant errors.
2015-11-25 10:29:13 -08:00
Daniel Rosenwasser
8702cc4215 Renamed functions, fixed signature, removed TODO. 2015-11-24 18:01:47 -08:00
Yui T
7ff4238f93 Fix crushing of getting signatureDeclaration when we are not in function declaration 2015-11-24 17:44:10 -08:00
Ron Buckton
d88186bc11 Removed isArray branch in checkCycles as it was unnecessary 2015-11-24 17:06:17 -08:00
Ron Buckton
0ad2efcd61 removed typeof check for isArray 2015-11-24 17:00:27 -08:00
Ron Buckton
fd51ebf0fd Minor stringify cleanup, added cycle detection for AssertionLevel.Aggresive only. 2015-11-24 16:59:55 -08:00
Vladimir Matveev
25cc97bb75 addressed PR feedback 2015-11-24 16:41:41 -08:00
Ron Buckton
aa5e57668f minor tweak to null handling in stringify 2015-11-24 16:26:57 -08:00
Vladimir Matveev
cccdd44c3d merge with master 2015-11-24 16:02:42 -08:00
Ron Buckton
8909c3a2dd Merge pull request #5725 from Microsoft/stringTypesCleanup
Disambiguate string literal types from other string literals.
2015-11-24 15:23:25 -08:00
Sheetal Nandi
a7cc86380d Merge branch 'master' into sourceMapAndBreakpointDecorators 2015-11-24 14:53:18 -08:00
Wesley Wigham
d0de238e34 Merge pull request #5765 from weswigham/emit-module-in-strict-mode
Emit modules in strict mode
2015-11-24 13:58:48 -08:00
Wesley Wigham
27149f3c88 only emit use strict if a use strict prologue isnt found 2015-11-24 13:31:30 -08:00
Ryan Cavanaugh
2a2155819f Merge pull request #4883 from SaschaNaz/tsconfigpath
Support full path for -project/-p paramater
2015-11-24 12:49:02 -08:00
Nathan Shively-Sanders
c35f7da0fa Elaborate interface signature errors
Signature errors were not reported before.
2015-11-24 09:34:20 -08:00
Anders Hejlsberg
ea0cc798da Merge pull request #5738 from Microsoft/unionIntersectionTypeInference
Improved union/intersection type inference
2015-11-24 08:33:14 -08:00
SaschaNaz
880db386a4 removing filename requirement 2015-11-24 23:39:12 +09:00
Ron Buckton
5c23a5f11e Extract source map generation logic out of the emitter. 2015-11-23 22:38:05 -08:00
Wesley Wigham
88d580ffe7 Merge branch 'master' into emit-module-in-strict-mode 2015-11-23 17:06:02 -08:00
Wesley Wigham
f782c82ba3 Add comments, change error message 2015-11-23 17:02:01 -08:00
Wesley Wigham
a03f06f766 add strict mdoe directive to all nones6 module emits 2015-11-23 14:39:41 -08:00
Vladimir Matveev
fb76dc95de Merge pull request #5759 from Microsoft/bangInModuleNames
do not treat modules with '!' in names any specially
2015-11-23 14:08:33 -08:00
Vladimir Matveev
566c0db543 fix lint errors 2015-11-23 13:24:46 -08:00
Wesley Wigham
3b6fa314da new tests 2015-11-23 13:12:34 -08:00
Anders Hejlsberg
4beedcf4c7 Update relation cache after we decide to elaborate an error 2015-11-23 13:09:50 -08:00