Commit graph

3019 commits

Author SHA1 Message Date
Sheetal Nandi
6b42712eb2 Report bind diagnostics, program diagnostics and file pre processing diagnostics in javascript file
Handles #5785
2015-11-30 13:26:00 -08:00
Yui
78ba4b2e9e Merge pull request #5781 from Microsoft/fix4715
Fix completion and quick info crash in type parameter in function in type alias
2015-11-30 09:45:30 -08:00
Yui T
2d133454e1 Merge branch 'master' into fix4715 2015-11-30 08:55:43 -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
Wesley Wigham
d74ab2eac7 Merge branch 'master' into autohoist-default 2015-11-25 17:52:51 -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
Sheetal Nandi
b5c64ad516 Test case for binder errors in .js file 2015-11-25 15:34:25 -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
Yui T
81fdc4384f Add fourslash tests 2015-11-24 17:50:00 -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
Anders Hejlsberg
ea0cc798da Merge pull request #5738 from Microsoft/unionIntersectionTypeInference
Improved union/intersection type inference
2015-11-24 08:33:14 -08:00
Wesley Wigham
88d580ffe7 Merge branch 'master' into emit-module-in-strict-mode 2015-11-23 17:06:02 -08:00
Wesley Wigham
044ff46ed8 fix transpile unit tests 2015-11-23 15:16:10 -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
6a144506f4 Adding regression test 2015-11-23 13:21:51 -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
181c943feb correctly capture 'this' when converting loops into functions 2015-11-21 20:11:39 -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
Anders Hejlsberg
a0842aaf04 Adding tests 2015-11-20 10:08:00 -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
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
294f846d26 Add a test which uses common src dir in a different way 2015-11-18 13:56:38 -08:00
Sheetal Nandi
a19307d533 Merge branch 'master' into jsFileCompilation 2015-11-18 11:26:58 -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
9531d929c7 update test with pr feedback 2015-11-17 14:34:02 -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
Wesley Wigham
21250edb0c Merge branch 'master' into default-commonjs-es6 2015-11-17 12:55:13 -08:00
Wesley Wigham
3fd9eb5637 Merge branch 'master' into compute-common-source-dir 2015-11-17 10:11:37 -08:00
Vladimir Matveev
a26d89d7a2 addressed PR feedback 2015-11-16 23:44:07 -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
13bc120fe2 Merge pull request #5698 from Microsoft/paramPropertyDocComment
Fix for doc comment for parameter-property not shown correctly when invoking constructor
2015-11-16 17:16:57 -08:00
Vladimir Matveev
259e204885 Merge pull request #5690 from Microsoft/harnessCleanup2_WIP
cleanup harness code (part 2)
2015-11-16 16:53:28 -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
Vladimir Matveev
076d65e1cf addressed PR feedback 2015-11-16 16:23:18 -08:00
Sheetal Nandi
073b69aaf5 Merge branch 'master' into jsFileCompilation 2015-11-16 12:04:42 -08:00
Vladimir Matveev
31bce223d9 switch fourslash to use local test state 2015-11-16 11:50: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