Commit graph

9120 commits

Author SHA1 Message Date
Sheetal Nandi
ccfa625b32 var rename as per PR feedback 2015-11-30 14:03:28 -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
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
Wesley Wigham
b4d6081ca2 accpet new baseline 2015-11-23 17:11:38 -08:00
Wesley Wigham
88d580ffe7 Merge branch 'master' into emit-module-in-strict-mode 2015-11-23 17:06:02 -08:00
Wesley Wigham
4e52ab4748 ending the pain and suffering of the projects tests 2015-11-23 16:41:56 -08:00
Wesley Wigham
1c0bdaffda projects tests are maddening 2015-11-23 15:42:02 -08:00
Wesley Wigham
83ec5a97cb projects teeests 2015-11-23 15:32:58 -08:00
Wesley Wigham
f2a1beda8f accept new projects baselines 2015-11-23 15:18:19 -08:00
Wesley Wigham
044ff46ed8 fix transpile unit tests 2015-11-23 15:16:10 -08:00
Wesley Wigham
79c4dc62f1 Accept so many baselines 2015-11-23 14:57:47 -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
Anders Hejlsberg
262bdb5203 Merge pull request #5761 from Microsoft/fixErrorElaboration
Fix crash during error elaboration
2015-11-23 13:59:11 -08:00
Vladimir Matveev
566c0db543 fix lint errors 2015-11-23 13:24:46 -08:00
Anders Hejlsberg
c5dd297683 Accepting new baselines 2015-11-23 13:22:23 -08:00
Anders Hejlsberg
6a144506f4 Adding regression test 2015-11-23 13:21:51 -08:00
Anders Hejlsberg
4beedcf4c7 Update relation cache after we decide to elaborate an error 2015-11-23 13:09:50 -08:00
Vladimir Matveev
2836c17791 do not treat modules with '!' in names any specially 2015-11-23 13:08:44 -08:00
Vladimir Matveev
fbaba90ac9 Merge pull request #5747 from Microsoft/thisWithLetConst
correctly capture 'this' when converting loops into functions
2015-11-22 21:53:20 -08:00
Vladimir Matveev
988a51237b address PR feedback - fixed typo in comment 2015-11-22 21:28:07 -08:00
Vladimir Matveev
181c943feb correctly capture 'this' when converting loops into functions 2015-11-21 20:11:39 -08:00
Anders Hejlsberg
add5146aea Fix linting errors 2015-11-20 15:32:17 -08:00
Ron Buckton
c94dcbd770 Merge pull request #5726 from Microsoft/cloneNode
Generic algorithm to create a shallow, memberwise clone of a node.
2015-11-20 10:54:46 -08:00
Ron Buckton
4edf330217 Minor comment update 2015-11-20 10:30:47 -08:00
Ron Buckton
0ee4e0b10d Modified cloneNode to ignore own properties of clone. 2015-11-20 10:13:01 -08:00
Anders Hejlsberg
11f4e3c330 Accepting new baselines 2015-11-20 10:08:32 -08:00
Anders Hejlsberg
a0842aaf04 Adding tests 2015-11-20 10:08:00 -08:00
Anders Hejlsberg
dc629d5a54 Reduce union and intersection types before inference 2015-11-20 10:07:36 -08:00
SaschaNaz
e5587fbae0 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath
Conflicts:
	src/compiler/diagnosticMessages.json
2015-11-20 11:30:31 +09:00
SaschaNaz
d87fc8b96a Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath 2015-11-20 11:23:13 +09:00
Ron Buckton
68c292c445 Adds a generic algorithm to create a shallow, memberwise clone of a node. 2015-11-19 17:42:12 -08:00
Sheetal Nandi
ba2238fe58 Decorators node array should have pos at token @ instead of actual decorator expression 2015-11-19 16:48:45 -08:00
Sheetal Nandi
83e569e6c3 Breakpoints on the node with decorator should start at actual syntax and not from decorators 2015-11-19 16:48:41 -08:00
Sheetal Nandi
858a99b4f1 Setting breakpoint inside decorator expression results in setting breakpoint on all the decorators
On resolution, this would be call to __decorate
2015-11-19 16:48:37 -08:00
Sheetal Nandi
c84a9f154b Test cases for breakpoints with decorators 2015-11-19 16:48:33 -08:00
Sheetal Nandi
e23b0c65ea Fix the source map emit for decorators
Handled #5584
2015-11-19 16:48:29 -08:00
Sheetal Nandi
a3bec922fb When the node contains decorators the actual start of the node is after skipping trivia from decorators end 2015-11-19 16:48:25 -08:00
Sheetal Nandi
883b8d9347 Merge pull request #5471 from Microsoft/jsFileCompilation
Compilation of Js Files
2015-11-19 16:30:40 -08:00
Ron Buckton
7d6100bbe8 Merge pull request #5719 from Microsoft/typesCleanup2
Additional Types cleanup.
2015-11-19 15:32:28 -08:00
Ron Buckton
93af2b2beb Comment cleanup. 2015-11-19 15:31:56 -08:00
Yui
fc79104d0d Merge pull request #5605 from Microsoft/useprintVersion
Use printVersion instead
2015-11-19 13:50:46 -08:00
Yui T
adc6d11292 Merge branch 'master' into useprintVersion
Conflicts:
	src/compiler/tsc.ts
2015-11-19 13:06:29 -08:00
Wesley Wigham
b1c8245b78 Merge pull request #5626 from weswigham/type-guard-narrowing
Make type guards continue to narrow within classes/nested function declarations
2015-11-19 11:42:14 -08:00
Ron Buckton
5915fbd292 Adds minimal support for 'this' types in decorator metadata, emitting 'Object' for now. 2015-11-19 09:53:32 -08:00
Sheetal Nandi
a19307d533 Merge branch 'master' into jsFileCompilation 2015-11-18 11:26:58 -08:00