Commit Graph

7976 Commits

Author SHA1 Message Date
Vladimir Matveev
2836c17791 do not treat modules with '!' in names any specially 2015-11-23 13:08:44 -08:00
Wesley Wigham
a9be53093c change enum emit 2015-11-23 12:55:29 -08:00
Wesley Wigham
60234342d5 fix whitespace 2015-11-23 12:44:49 -08:00
Wesley Wigham
6a8e78cdc0 fix ES6 emit for namespaces to only emit one export binding 2015-11-23 12:43:28 -08:00
Wesley Wigham
d0fc3948b5 Correct comments, use destructuring 2015-11-23 12:22:08 -08:00
Vladimir Matveev
5eb8f71ee1 addressed PR feedback 2015-11-22 22:06:05 -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
Wesley Wigham
f28958fe18 Merge branch 'master' into autohoist-default 2015-11-20 13:45:25 -08:00
Nathan Yee
5b3d299412 Clarify comment 2015-11-20 13:33:58 -08:00
Wesley Wigham
b11786866b Merge branch 'master' into use-common-directory-for-out 2015-11-20 13:32:12 -08:00
Nathan Yee
40a2a2584d Fix object type literal regression 2015-11-20 13:31:17 -08:00
Ryan Cavanaugh
fb83ee0a30 WIP 2015-11-20 10:59:13 -08:00
Vladimir Matveev
71b98e0615 apply 'noImplicitReturns' check for functions that don't have type annotations 2015-11-20 10:56:17 -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
dc629d5a54 Reduce union and intersection types before inference 2015-11-20 10:07:36 -08:00
Nathan Yee
c93f454549 Implement #5173
Give more helpful error when trying to set default values on an
interface
2015-11-20 08:30:50 -08:00
Vladimir Matveev
6844285782 verbose module resolution 2015-11-19 21:33:33 -08:00
Vladimir Matveev
6bed1ba53a merge with master 2015-11-19 21:11:57 -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
Ron Buckton
9b0231d9b8 Minor change to getStringLiteralType 2015-11-19 17:50:28 -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
Ron Buckton
f5b8619199 Adds StringLiteralType to SyntaxKind to disambiguate string literals in a type position. 2015-11-19 17:08:51 -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
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
Wesley Wigham
d9c6f3d6c6 invert the conditional I was asked to invert 2015-11-19 13:20:58 -08:00
Wesley Wigham
50bf3ca836 Merge branch 'master' into duplicate-export-behavior 2015-11-19 13:17:48 -08:00
Wesley Wigham
b91a5a5100 factor for loop into filter, minor style changes 2015-11-19 13:17:20 -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
5ecc271c27 Merge branch 'master' into use-common-directory-for-out 2015-11-19 12:42:02 -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
Vladimir Matveev
d2fd6437d7 initial implementation of path mapping based module resolution 2015-11-18 21:46:45 -08:00
Wesley Wigham
08045dfd31 Refactor getCommonSourceDirectory into a closure function 2015-11-18 17:10:22 -08:00
Sheetal Nandi
9db441ef16 Update test baselines 2015-11-18 16:09:04 -08:00
Sheetal Nandi
b73ce26937 Dont emit names index mapping into the sourcemap
Since sourcemap spec is not very clear about symbol translation and
use of nameIndex of the mapping, dont emit it
2015-11-18 15:29:51 -08:00
Wesley Wigham
c0f185943c remove comment 2015-11-18 14:10:53 -08:00
Wesley Wigham
a44ebbbc7e only make common dir on call 2015-11-18 13:19:56 -08:00
Wesley Wigham
c7a3bee916 Merge branch 'master' into use-common-directory-for-out 2015-11-18 13:10:23 -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
SaschaNaz
0448eeb502 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath 2015-11-19 01:56:55 +09:00