6512 Commits

Author SHA1 Message Date
Yui T
a7688592b2 Address PR feedback
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
2015-11-30 10:00:10 -08:00
Yui T
653deaa2e2 Fix where to report on error. Move from constructor node to just super node
Conflicts:
	src/compiler/checker.ts
2015-11-30 09:42:32 -08:00
Yui T
e15eab9d99 Add basic check for use super before this
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
2015-11-30 09:39:16 -08:00
Vladimir Matveev
9552d4da44 ignore all trivia except singleline comments when processing tripleslash references 2015-11-29 21:17:31 -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
Wesley Wigham
d74ab2eac7 Merge branch 'master' into autohoist-default 2015-11-25 17:52:51 -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
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
Daniel Rosenwasser
8702cc4215 Renamed functions, fixed signature, removed TODO. 2015-11-24 18:01:47 -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
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
88d580ffe7 Merge branch 'master' into emit-module-in-strict-mode 2015-11-23 17:06:02 -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
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
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
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
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
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
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
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
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
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