Mohamed Hegazy
a8aa070fe6
Merge pull request #14900 from Microsoft/Fix14892
...
Fix #14892 : Add undefined check before using the intializer of for-statment
2017-03-29 09:31:00 -07:00
Kanchalai Tanglertsampan
42f398076d
Merge branch 'master' into master-14217
...
# Conflicts:
# tests/baselines/reference/classOrder2.errors.txt
# tests/baselines/reference/es5ExportDefaultClassDeclaration3.symbols
# tests/baselines/reference/es5ExportDefaultClassDeclaration3.types
# tests/baselines/reference/mappedTypeRelationships.errors.txt
# tests/baselines/reference/privacyClassExtendsClauseDeclFile.errors.txt
2017-03-29 08:51:39 -07:00
Kanchalai Tanglertsampan
63f3520d31
Address PR: fix spelling
2017-03-29 08:42:39 -07:00
Ron Buckton
62e8881f9b
Merge pull request #14907 from Microsoft/jsGenericDefaultsAny
...
Default to 'any' for unsupplied generics in JavaScript
2017-03-28 16:34:57 -07:00
Mohamed Hegazy
74dd1c0558
Handel empty intializer in system module emit
2017-03-28 10:19:09 -07:00
Mohamed Hegazy
115c008694
Fix #14892 : Add undefined check before using the intializer of for-statement
2017-03-28 10:06:36 -07:00
Mohamed Hegazy
8ea961714b
Merge remote-tracking branch 'origin/master' into checkJSFiles
2017-03-27 21:23:26 -07:00
Mohamed Hegazy
0637f241b7
Merge remote-tracking branch 'origin/master' into checkJSFiles
2017-03-27 21:23:07 -07:00
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 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
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
3378f5cb38
Merge branch 'master' into checkJSFiles
2017-03-27 10:46:40 -07: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
Arthur Ozga
a94f874b06
use NodeBuilderContext
2017-03-25 14:14:36 -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
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
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
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
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
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
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