17027 Commits

Author SHA1 Message Date
Anders Hejlsberg
1ae5bef80d Merge pull request #14874 from Microsoft/fixIndexedAccessRelation
Fix stack overflow in indexed access relation
2017-03-28 06:19:59 +02:00
Andy
31701b6b19 Merge pull request #14884 from Microsoft/binary-expression
getSpecialPropertyAssignmentKind: Always check for BinaryExpression *outside*, always check for JS file *inside*
2017-03-27 16:02:51 -07:00
jramsay
25f07501fb Merge pull request #14214 from Microsoft/CancellationChecksForLowPriorityTasks
Adding cancellation token checks for lower priority tasks (navbar & outlining spans)
2017-03-27 15:48:08 -07:00
Jason Ramsay
d20cebf998 Merge branch 'master' into CancellationChecksForLowPriorityTasks 2017-03-27 14:49:41 -07:00
Andy Hanson
dd06cbb315 getSpecialPropertyAssignmentKind: Always check for BinaryExpression *outside*, always check for JS file *inside* 2017-03-27 14:32:45 -07:00
Arthur Ozga
5e4b8d66ff Merge pull request #14709 from aozgaa/createTypeNode
Create type node
2017-03-27 12:58:32 -07:00
Yui
4680f019f8 Merge pull request #14834 from chozzz/master
Bug fix for issue #14696
2017-03-27 12:13:18 -07:00
Arthur Ozga
4329b4524e Cleanup 2017-03-27 12:01:56 -07:00
Arthur Ozga
7340c4ca1e type predicate support 2017-03-27 11:53:44 -07:00
Mohamed Hegazy
c949116fa9 Merge pull request #14876 from JoshuaKGoldberg/patch-1
symbolDisplay comment fix: "experts" vs "exports"
2017-03-27 09:47:37 -07:00
Josh Goldberg
523ced704f symbolDisplay comment fix: "experts" vs "exports" 2017-03-27 16:51:38 +01:00
Anders Hejlsberg
0b8a9fc3d0 Add regression test 2017-03-27 11:44:49 +02:00
Anders Hejlsberg
4aeab77783 Accept new baselines 2017-03-27 11:38:05 +02:00
Anders Hejlsberg
cca7ac2557 Use immediate constraint, not base constraint, of indexed access 2017-03-27 11:37:27 +02:00
Arthur Ozga
a39bb0aaaa midway through response to ron's comments 2017-03-27 00:34:48 -07:00
Arthur Ozga
fb4e3d87bd essymbol and object 2017-03-26 22:45:13 -07:00
Arthur Ozga
e2b3c9c663 remove NodeBuilder 2017-03-26 22:29:17 -07:00
Mohamed Hegazy
02e487ac08 Merge pull request #14811 from IgorNovozhilov/patch-1
[object Generator]
2017-03-26 14:14:27 -07:00
IgorNovozhilov
ee2a909f54 ["Two small changes"] 2017-03-26 17:08:27 +03:00
Arthur Ozga
a94f874b06 use NodeBuilderContext 2017-03-25 14:14:36 -07:00
IgorNovozhilov
a065331d69 [object Generator]
25.3 Generator Objects
http://www.ecma-international.org/ecma-262/6.0/#sec-generator-objects
```
C:\Users> node
> GF = function* (){}
[Function: GF]
> GF.constructor.name
'GeneratorFunction'
> G = GF()
{}
> G + ''
'[object Generator]'
```
2017-03-25 17:26:18 +03:00
chozzz
ba0d895776 Merge remote-tracking branch 'choz/master' 2017-03-25 09:44:49 +08:00
Bill Ticehurst
9e8b3d9c3b Merge pull request #14846 from Microsoft/dev/billti/port14809ToMaster
Port 14809 to master
2017-03-24 15:16:52 -07:00
Arthur Ozga
85986ddaee dont check isPartOfTypeNode 2017-03-24 13:12:07 -07:00
Arthur Ozga
797f6dac02 rename helper 2017-03-24 13:01:27 -07:00
Arthur Ozga
a7c166c4a5 optional signature 2017-03-24 12:56:54 -07:00
Bill Ticehurst
21c954717c Changes for Map implementation
(cherry picked from commit 8a67b6ddd43bdb33c89c1877d2755b738cb4c4c1)
2017-03-24 11:58:49 -07:00
Ryan Cavanaugh
eef0505f55 Store diabled projects as 0
(cherry picked from commit e9e7271fc3ab50654cb234c813e46fc90d70a736)
(cherry picked from commit 35e77171e98d134c64ae1000d94b1be317879a05)
2017-03-24 11:58:48 -07:00
Ryan Cavanaugh
e5313bda21 Don't add in size of disabled projects
(cherry picked from commit 2721a8c8b4fcacc551e68594964ea581b713f83c)
(cherry picked from commit 1696df6c9eca388b72b73a1e1897ab9b85080a7e)
2017-03-24 11:58:48 -07:00
Ryan Cavanaugh
390e63200a Add unit test
(cherry picked from commit ff0947996c03c07a7d2c1d8fdaf25e60dce6039c)
(cherry picked from commit c66a5359e2bdc45b0a37941f614dda40661ae2cd)
2017-03-24 11:58:47 -07:00
Ryan Cavanaugh
5b7a099aa6 Math
(cherry picked from commit 7b17f6affecd6fb5e478607bf43e4cc29edf3f45)
(cherry picked from commit 63aeacb83f2c00eef903bb6d2f39d3aa6b72254d)
2017-03-24 11:58:46 -07:00
Ryan Cavanaugh
d69a18d9d9 Store the size of the project properly
(cherry picked from commit 16c7bcfebbeb8490a86dd994167283414d9d43a0)
(cherry picked from commit 8b3c54dbfb04c084061c287a342e7e6ffa0f0612)
2017-03-24 11:58:46 -07:00
Ryan Cavanaugh
afbe63ae99 Make compatible with 2.1 maps
# Conflicts:
#	src/server/editorServices.ts
#	src/server/project.ts

(cherry picked from commit 456614f7e0d8ac0f5d420a6caf42f57cf5dda313)
(cherry picked from commit be30adc77f450a4871045c48d7d614c196fe37a5)
2017-03-24 11:58:20 -07:00
Ryan Cavanaugh
71e296042a Apply the 20 MB non-TS source limit across all projects
(cherry picked from commit cc8ce5975cbda492834d43ec1b743126a3334df4)
(cherry picked from commit de8fb9e8335d9bf34d0bbd5e61fee4df40cb5222)
2017-03-24 11:58:20 -07:00
Bill Ticehurst
25d8367aaf Suppress semantic errors in JS only configured projects
(cherry picked from commit 4ee8bdb762f870351da9be51d13dae6c9328e72f)
2017-03-24 11:58:14 -07:00
Vadi Taslim
6b5330f343 Bug fix for issue #14696, things changed are;
- Empty class type will now throw an error,
- Trailing comma in class type will also throw an error,
- Added tests for empty class type parameter,
- Updated tests for class type parameters with trailing comma

This behavior is consistently following function or method like when its type parameter is either empty or has trailing comma.
2017-03-24 12:39:40 +08:00
Arthur Ozga
5421812f1e build builder 2017-03-23 16:54:13 -07:00
Arthur Ozga
82bd05bbc0 Merge branch 'master' into createTypeNode 2017-03-23 16:29:00 -07:00
Arthur Ozga
bfb1bb4801 Merge branch 'createTypeNode2' into createTypeNode 2017-03-23 14:12:25 -07:00
Arthur Ozga
ee7e9fc502 handle todo's 2017-03-23 14:00:49 -07:00
Arthur Ozga
8915cb9a0f Split signature factory methods 2017-03-23 13:41:54 -07:00
Anders Hejlsberg
a9d8df2e5a Merge pull request #14825 from Microsoft/fixDeeplyNestedCheck
Fix deeply nested type check
2017-03-23 11:42:49 -07:00
Anders Hejlsberg
f139a6c58a Accept new baselines 2017-03-23 11:24:01 -07:00
Anders Hejlsberg
5ea146334a Add regression test 2017-03-23 11:23:26 -07:00
Anders Hejlsberg
f4fc9ed61f Fix deeply nested type check 2017-03-23 11:23:13 -07:00
Arthur Ozga
dfb4df92c8 move undefined handling to caller 2017-03-23 11:17:25 -07:00
Mohamed Hegazy
87c291eb2f Merge pull request #14195 from HerringtonDarkholme/object-iteration
fix #14187, forIn should allow non primitive object as right hand side
2017-03-23 10:11:50 -07:00
Arthur Ozga
1f3029d4f1 error handling 2017-03-23 08:34:58 -07:00
Mohamed Hegazy
868802b223 Port updated dom files (#14805) 2017-03-23 00:41:07 -07:00
Arthur Ozga
abd14ef185 temp 2017-03-22 19:10:56 -07:00