Commit Graph

4342 Commits

Author SHA1 Message Date
Wesley Wigham
a03f06f766 add strict mdoe directive to all nones6 module emits 2015-11-23 14:39:41 -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
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
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
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 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
Sheetal Nandi
5ac6eb2d79 PR feedback 2015-11-18 10:48:03 -08:00
Vladimir Matveev
5e84ed399c Merge pull request #5706 from Microsoft/nameResolutionForParameters
restrict the scope of parameters\type parameters
2015-11-17 17:09:53 -08:00
Wesley Wigham
1f61ecfcb1 Merge pull request #5590 from weswigham/compute-common-source-dir
Add case sensitivity-check to computeCommonSourceDirectory
2015-11-17 16:06:26 -08:00
Vladimir Matveev
31039a3fff disallow references to function locals from return type annotations 2015-11-17 15:22:26 -08:00
Wesley Wigham
321bb9aafa Merge branch 'master' into type-guard-narrowing 2015-11-17 13:50:56 -08:00
Vladimir Matveev
e0a8af00a7 do not resolve parameters/type parameters if it is requested from restricted locations 2015-11-17 13:27:52 -08:00
Vladimir Matveev
683ecc9cec Merge pull request #5701 from Microsoft/cleanupWork
clean residual state in binder and emitter, clean test data in versio…
2015-11-17 12:59:45 -08:00
Wesley Wigham
a989595044 use getCanonicalFileName on path fragments as in other utility methods 2015-11-17 11:24:17 -08:00
Ron Buckton
4be0095a7c Clean up unnecessary comment annotations 2015-11-17 10:56:02 -08:00
Ron Buckton
20347ad615 Merge pull request #5597 from Microsoft/typesCleanup
Types cleanup
2015-11-17 10:54:50 -08:00
Ron Buckton
443abe6dea Adds ThisType to SyntaxKind, to distinguish between a 'this' expression and a 'this' type. Needed for transforms 2015-11-17 10:53:29 -08:00
Wesley Wigham
3fd9eb5637 Merge branch 'master' into compute-common-source-dir 2015-11-17 10:11:37 -08:00
Vladimir Matveev
33fc598a8a clean residual state in binder and emitter, clean test data in version cache test 2015-11-16 23:24:25 -08:00
Sheetal Nandi
a275dabe44 When constructing signature, include parameter symbol instead of property symbol of parameter-property declaration
Fixes #4566
2015-11-16 16:48:57 -08:00
Sheetal Nandi
073b69aaf5 Merge branch 'master' into jsFileCompilation 2015-11-16 12:04:42 -08:00
Sheetal Nandi
1ee5022350 Change the api for node name resolver to take compiler options instead of supportedExtensions 2015-11-16 11:49:26 -08:00
Vladimir Matveev
078ed3f485 use normalized absolute file names when doing consistency check 2015-11-16 09:49:58 -08:00
Vladimir Matveev
e49e55287a do not crash when variable and function declarations collide 2015-11-14 12:08:47 -08:00
Daniel Rosenwasser
76d624dec9 Merge branch 'master' into dogfoodStringLiterals 2015-11-14 00:42:34 -08:00
Wesley Wigham
39ebe81b89 Merge branch 'master' into compute-common-source-dir 2015-11-13 17:56:04 -08:00
Wesley Wigham
e41bfd1ccc fix many lints 2015-11-13 17:43:53 -08:00
Wesley Wigham
c3c758b4e1 Merge branch 'master' into compute-common-source-dir 2015-11-13 16:40:53 -08:00
Vladimir Matveev
531e0969da Merge pull request #5662 from Microsoft/overloadsAndMergedDeclarations
do not crash if overloads cannot be merged under one symbol
2015-11-13 14:55:18 -08:00
Sheetal Nandi
0482afdc1e Load only typescript files if resolving from node modules 2015-11-13 14:28:40 -08:00
Vladimir Matveev
07626cbe89 do not crash if overloads cannot be merged under one symbol 2015-11-13 14:26:48 -08:00
Wesley Wigham
16d80ebe71 ignore undefined type guards 2015-11-13 14:08:26 -08:00
Sheetal Nandi
fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -08:00
Wesley Wigham
346253a0d5 test, first pass at a fix 2015-11-13 11:13:10 -08:00
Nathan Shively-Sanders
7743d20910 Merge pull request #5193 from Microsoft/namespace-before-ambient-derived-class-finds-heritage
Namespace before ambient derived class finds heritage
2015-11-13 08:50:10 -08:00
Wesley Wigham
ecd4435986 Go all the way back to the original solution 2015-11-12 16:22:35 -08:00
Sheetal Nandi
3d6312a1da Merge pull request #5643 from Microsoft/lambdaSourceMap
Fix sourcemap emit for the labda expression that is on another line
2015-11-12 16:09:45 -08:00
Wesley Wigham
52fbf9e12b Merge branch 'master' into compute-common-source-dir 2015-11-12 15:59:11 -08:00
Wesley Wigham
5bcf861121 use relative path from current directory 2015-11-12 15:58:11 -08:00
Ryan Cavanaugh
e3a845aa64 Merge pull request #5641 from RyanCavanaugh/fix5634
Quote only names that need to be quoted, not the reverse
2015-11-12 15:05:33 -08:00
Sheetal Nandi
3bdad8a6b0 When excluding same base name file from compilation, check for all supported javascript extensions instead of just .js 2015-11-12 14:25:46 -08:00
Sheetal Nandi
127a30e151 Fix the sourcemap emit of lambda expression without return on another line
Handles #5122
2015-11-12 14:15:33 -08:00
Ryan Cavanaugh
f90ef92e7c Simplify regex a bit 2015-11-12 13:37:03 -08:00