Commit Graph

13117 Commits

Author SHA1 Message Date
Ryan Cavanaugh
afbe63ae99 Make compatible with 2.1 maps
# Conflicts:
#	src/server/editorServices.ts
#	src/server/project.ts

(cherry picked from commit 456614f7e0)
(cherry picked from commit be30adc77f)
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 cc8ce5975c)
(cherry picked from commit de8fb9e833)
2017-03-24 11:58:20 -07:00
Bill Ticehurst
25d8367aaf Suppress semantic errors in JS only configured projects
(cherry picked from commit 4ee8bdb762)
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
rbuckton
ed1d5f45ca Type parameter default is 'any' in js files 2017-03-23 19:18:36 -07: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
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
19ada9719a Fix #14620: Lookup names in exports as well as locals when binding special properties 2017-03-23 10:26:05 -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
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
Kanchalai Tanglertsampan
c798489eb1 Move error report of incorrect grammar in dynamic import to checker 2017-03-22 15:04:17 -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
c4ddc5bffa Respond to more comments 2017-03-22 12:54:51 -07:00
Mohamed Hegazy
ae1983bce1 Show help if --all is specifided without --help 2017-03-22 12:45:36 -07:00
Mohamed Hegazy
88b88e1055 Remove BOM 2017-03-22 12:41:11 -07:00
Mohamed Hegazy
d906e91236 Code review comments 2017-03-22 12:01:08 -07:00
Kanchalai Tanglertsampan
91d9ecf3e2 Simply parse dynamic import as call-expression.... 2017-03-22 11:10:47 -07:00
Mohamed Hegazy
b2f49ccfcb Merge branch 'master' into optionsDescription 2017-03-22 11:04:35 -07:00
Klaus Meinhardt
eb8972d5ff Add parent types to class elements 2017-03-22 15:28:51 +01:00
Klaus Meinhardt
fcca27c03e Fix type of HeritageClause#types 2017-03-22 13:00:07 +01:00
Klaus Meinhardt
6e086980a4 Also fix type of NewExpression#arguments 2017-03-22 12:58:28 +01:00
Klaus Meinhardt
1511dd9c24 Fix parent type of JsxAttributes 2017-03-22 12:58:28 +01:00
Arthur Ozga
5b739cf78c respond to comments 2017-03-21 22:54:06 -07:00
Kanchalai Tanglertsampan
2332ea388e small fix on indentation 2017-03-21 15:11:21 -07:00
Kanchalai Tanglertsampan
871d6095ef Report an error if dynamic import specifier is not assigable to type string 2017-03-21 15:08:00 -07:00
Kanchalai Tanglertsampan
f04f7b5afd Add comment for comparable relationship 2017-03-21 14:18:12 -07:00
Andy Hanson
5bcb8fa9fa Don't need types to handle string literals 2017-03-21 13:24:39 -07:00
Kanchalai Tanglertsampan
8fd660bcba Report no implicit error when we return Promise<any> 2017-03-21 13:11:29 -07:00
Andy Hanson
1b2cd3e01a Remove unused test files 2017-03-21 12:42:53 -07:00
Andy
d7c630f4df Merge pull request #14443 from Microsoft/specific_types
Use more specific types in a few cases
2017-03-21 12:26:04 -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
71e52dea92 finish remove unused yieldTypes 2017-03-21 08:38:01 -07:00
Yui
990d2fa54b Merge pull request #14307 from Microsoft/master-13893
[Master] Fix 13893: Fix runtime crash when class is used before declaration
2017-03-21 08:36:59 -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
bb5b20b587 Address code review 2017-03-21 08:07:11 -07:00
Kanchalai Tanglertsampan
3600ccc833 Merge branch 'master' into master-14217
# Conflicts:
#	tests/baselines/reference/bestChoiceType.symbols
#	tests/baselines/reference/classExpressionWithStaticProperties3.symbols
#	tests/baselines/reference/classExpressionWithStaticPropertiesES63.symbols
#	tests/baselines/reference/declarationEmitPromise.symbols
#	tests/baselines/reference/keyofAndIndexedAccess.symbols
#	tests/baselines/reference/mapOnTupleTypes01.symbols
#	tests/baselines/reference/mapOnTupleTypes02.symbols
#	tests/baselines/reference/mappedTypeRelationships.errors.txt
#	tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.symbols
#	tests/baselines/reference/specializationsShouldNotAffectEachOther.symbols
#	tests/baselines/reference/tsxSpreadChildren.symbols
#	tests/baselines/reference/typedArrays.symbols
2017-03-21 07:36:08 -07:00
Yui
b6dfa39ce0 Merge pull request #14252 from Microsoft/master-fix12297
[Master] Fix 12297 undefined exception in writeReferencePath
2017-03-20 21:00:34 -07:00