Commit Graph
5656 Commits
Author SHA1 Message Date
Mohamed Hegazy 0637f241b7 Merge remote-tracking branch 'origin/master' into checkJSFiles 2017-03-27 21:23:07 -07:00
Arthur Ozga 5e4b8d66ff Merge pull request #14709 from aozgaa/createTypeNode
Create type node
2017-03-27 12:58:32 -07:00
Arthur Ozga 7340c4ca1e type predicate support 2017-03-27 11:53:44 -07:00
Mohamed Hegazy 3378f5cb38 Merge branch 'master' into checkJSFiles 2017-03-27 10:46:40 -07:00
Arthur Ozga fb4e3d87bd essymbol and object 2017-03-26 22:45:13 -07:00
Arthur Ozga a7c166c4a5 optional signature 2017-03-24 12:56:54 -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 82bd05bbc0 Merge branch 'master' into createTypeNode 2017-03-23 16:29:00 -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 5ea146334a Add regression test 2017-03-23 11:23:26 -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
Mohamed Hegazy db6c96967c Change ingore diagonstic comment to // @ts-ignore 2017-03-22 16:23:21 -07:00
Mohamed Hegazy e408cad618 Merge branch 'master' into checkJSFiles 2017-03-22 15:45:27 -07:00
Arthur Ozga 43e01f282b remove trivia 2017-03-22 14:50:01 -07:00
Arthur Ozga 2958649a95 Enum and enum literal 2017-03-22 14:34:14 -07:00
Arthur Ozga 5b739cf78c respond to comments 2017-03-21 22:54:06 -07:00
Andy Hanson 1b2cd3e01a Remove unused test files 2017-03-21 12:42:53 -07:00
Yui 46587c8dca Merge pull request #14235 from Microsoft/master-fix14043
[Master] fix 14043 collect return type from return statement in generator function
2017-03-21 11:06:11 -07:00
Yui f5d566e794 Merge pull request #14152 from Microsoft/master-11566
[Master] Fix 11566 : SFC returns null
2017-03-21 09:18:15 -07:00
Kanchalai Tanglertsampan 2e28c06cb6 Merge branch 'master' into master-11566 2017-03-21 09:04:21 -07:00
Kanchalai Tanglertsampan 6dc8072bb9 Merge branch 'master' into master-fix14043
# Conflicts:
#	src/compiler/checker.ts
2017-03-21 08:17:33 -07:00
Kanchalai Tanglertsampan a8ffb5cad9 Address code review 2017-03-21 07:26:47 -07:00
Kanchalai Tanglertsampan 028c41b951 Merge branch 'master' into master-13893 2017-03-20 17:22:04 -07:00
Anders Hejlsberg 363c5144bc Merge pull request #14635 from Microsoft/fixIntersectionMethodOverrides
Fix intersection method overrides
2017-03-20 16:24:05 -07:00
Arthur Ozga 67587cbbbd Merge branch 'master' into createTypeNode 2017-03-20 14:39:54 -07:00
Yui de5211352a Merge pull request #14132 from Microsoft/master-fix12952
[Master] Fix 12952 : throw exception when parsing conflict marker in JSX
2017-03-20 14:32:52 -07:00
Arthur Ozga ac7fc8fe75 Handle TODO's 2017-03-17 11:54:51 -07:00
Arthur Ozga dee9ced060 add tests 2017-03-16 18:02:34 -07:00
Arthur Ozga 621c044790 remove test 2017-03-16 17:22:57 -07:00
Arthur Ozga 7318c2c5a9 some cleanup 2017-03-16 17:18:28 -07:00
Arthur Ozga 7b93a75e41 Merge branch 'master' into createTypeNode 2017-03-16 16:46:45 -07:00
Arthur Ozga 451b2d648f Add signatures test 2017-03-16 16:09:54 -07:00
Vladimir Matveev 595342615b abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation (#14637) 2017-03-16 15:53:05 -07:00
Zhengbo Li 5040e1d279 Mark occurence item in string with a special property (#14677)
* mark occurence item in string with a special property

* Adding trailing commas
2017-03-16 11:01:48 -07:00
Arthur Ozga ec997f3299 more temp 2017-03-16 09:52:19 -07:00
Arthur Ozga 0a2d7a7f94 temp
* added signature factory/visitor entry
2017-03-15 18:09:55 -07:00
Mohamed Hegazy 0dac29f6f3 Merge branch 'master' into checkJSFiles 2017-03-15 12:35:26 -07:00
Vladimir Matveev 2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Arthur Ozga 758e1ff8b7 temp 2017-03-15 09:06:59 -07:00
Arthur Ozga 18723d938f Merge branch 'vladima/textChanges' into createTypeNode 2017-03-14 16:46:09 -07:00
Arthur Ozga b8756597b8 test cleanup 2017-03-14 16:45:47 -07:00
Vladimir Matveev d4bb267ee3 add insertNodeInListAfter functionality 2017-03-14 16:13:33 -07:00
Vladimir Matveev e7e1ac93ad Merge remote-tracking branch 'origin/master' into vladima/textChanges 2017-03-14 15:08:57 -07:00
Arthur Ozga 2fd3229568 Various fixes
* create type reference node from type parameters
* expose index signature synthesis
* widen types in helpers
* format unions
* use deep cloning
2017-03-14 14:35:23 -07:00
Mohamed Hegazy fd9fb8f9bc Support static properties 2017-03-13 22:50:21 -07:00
Mohamed Hegazy 6e86596a73 Add debugging utilities 2017-03-13 22:43:37 -07:00
Arthur Ozga 27fe2df203 some missed token bugs 2017-03-13 20:20:26 -07:00
Arthur Ozga e02ac178ca Merge branch 'master' into createTypeNode 2017-03-13 18:12:29 -07:00
Arthur Ozga d298f960ab Refactor 2017-03-13 18:09:53 -07:00
Arthur Ozga 20f512cfd2 type parameters and basic object literals 2017-03-13 16:54:29 -07:00