Commit Graph

9177 Commits

Author SHA1 Message Date
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
Yui T
5aec74e992 Merge branch 'applylinteronscripts' of https://github.com/Microsoft/TypeScript into applylinteronscripts
Conflicts:
	Jakefile.js
2015-11-20 16:31:18 -08:00
Yui T
97f0bfcd72 apply tslint rule to scripts\tslint 2015-11-20 16:28:58 -08:00
Yui T
8d3fca9de8 apply tslint rule to scripts\tslint 2015-11-20 16:26:13 -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
Wesley Wigham
02a9b11e0e Accpet new baselines 2015-11-20 13:41:41 -08:00
Wesley Wigham
b11786866b Merge branch 'master' into use-common-directory-for-out 2015-11-20 13:32:12 -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
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
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
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
075bea0ab8 I forgot to commit the baselines. T.T 2015-11-19 12:48:01 -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
Wesley Wigham
ba3805d6f2 add a new test 2015-11-18 17:29:16 -08:00
Wesley Wigham
08045dfd31 Refactor getCommonSourceDirectory into a closure function 2015-11-18 17:10:22 -08:00
Wesley Wigham
c0f185943c remove comment 2015-11-18 14:10:53 -08:00
Wesley Wigham
294f846d26 Add a test which uses common src dir in a different way 2015-11-18 13:56:38 -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
Daniel Rosenwasser
bd84b844ff Remove unnecessary 'else' block. 2015-11-18 10:07:42 -08:00
SaschaNaz
0448eeb502 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath 2015-11-19 01:56:55 +09:00
Mohamed Hegazy
7389922eb6 Merge pull request #5709 from Microsoft/fixPreferConstRule
Fix prefer const rule
2015-11-18 08:54:24 -08:00
Daniel Rosenwasser
cbb61654fb Small refactorings. 2015-11-18 01:53:12 -08:00
Daniel Rosenwasser
15d689cdcd Simplify simplify simplify. 2015-11-18 01:46:17 -08:00
Daniel Rosenwasser
cf007461b9 Fixed invalid code for binding expressions. 2015-11-18 01:41:41 -08:00
SaschaNaz
8ca6b31faa const 2015-11-18 18:09:31 +09:00
SaschaNaz
c29501f18c Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsconfigpath 2015-11-18 17:37:31 +09: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