Nathan Shively-Sanders
e5416b5dcc
Merge pull request #15075 from Microsoft/fix-exponential-expanding-array-assignment
...
Evolving array element type ignores contextual type
2017-04-17 08:26:06 -07:00
Nathan Shively-Sanders
959187607d
serializeTypeNode handles object
...
This was just overlooked earlier.
2017-04-14 09:28:31 -07:00
Nathan Shively-Sanders
d53b3ac43c
Merge pull request #15032 from Microsoft/fix-anon-class-this-reference-caching
...
Do not walk up control flow containers for `this`
2017-04-13 15:10:01 -07:00
Nathan Shively-Sanders
8a599f662f
Merge pull request #14090 from Microsoft/es5-emit-param-initialiser-before-object-rest
...
ES5:Emit parameter initialiser before object rest destructuring
2017-04-13 13:43:13 -07:00
Nathan Shively-Sanders
b2199bd23c
Test:order of directives, initialisers, object spread destructuring
2017-04-13 10:35:50 -07:00
Anders Hejlsberg
014845a637
Merge pull request #15057 from Microsoft/fixExcessPropertyCheck
...
Fix excess property check
2017-04-12 15:54:32 -10:00
Nathan Shively-Sanders
11f715c724
Merge pull request #15036 from Microsoft/remove-readonly-from-spread-properties
...
Remove readonly from spread properties
2017-04-12 16:32:16 -07:00
Nathan Shively-Sanders
1671a06655
Test: object literal assignments->expanding arrays
...
Previously, the compiler would run out of memory for more than 13 or 14
of these assignments.
2017-04-07 11:14:16 -07:00
Anders Hejlsberg
69c30a0126
Add regression tests
2017-04-06 12:57:03 -07:00
Nathan Shively-Sanders
3029b8fe38
Merge pull request #14935 from Microsoft/allow-extending-from-any
...
Allow extending from any
2017-04-06 09:18:01 -07:00
Nathan Shively-Sanders
f635042255
Improve test and comments
...
Test asserts that unused locals error works for untyped modules.
Comment no longer claims to check for untyped modules.
2017-04-06 09:02:18 -07:00
Nathan Shively-Sanders
6879bc1ea1
Test that spread removes readonly from properties
2017-04-05 13:45:51 -07:00
Nathan Shively-Sanders
e09533d19d
Update test comments to match property names
2017-04-05 13:08:21 -07:00
Yui
8941e5f7b0
Merge pull request #15006 from Microsoft/master-14895
...
[Master] Emit parenthesis around propert/element access expression of casted object literal expression
2017-04-05 13:03:24 -07:00
Nathan Shively-Sanders
db3431e3af
Add this narrowing test and update previous test
2017-04-05 11:06:14 -07:00
Kanchalai Tanglertsampan
33524bd18c
Update test and baseline
2017-04-05 10:26:28 -07:00
Ron Buckton
41fb0aaf6c
Merge pull request #14995 from Microsoft/cleanupLiteralEmit
...
Clean up literal emit
2017-04-04 22:10:46 -07:00
Anders Hejlsberg
9d2b57ad9e
Merge pull request #15011 from Microsoft/limitDeepInstantiations
...
Limit deep generic type instantiations
2017-04-04 20:28:33 -07:00
Anders Hejlsberg
90648fd9eb
Merge pull request #14991 from Microsoft/fixTypeRelationStackOverflow
...
Fix type relation stack overflow
2017-04-04 20:28:16 -07:00
Anders Hejlsberg
68ab129fac
Add regression test
2017-04-04 14:53:48 -07:00
Nathan Shively-Sanders
4214aed37d
Test:static inits can refer to later static methods
2017-04-04 14:50:42 -07:00
Kanchalai Tanglertsampan
0a194f91a0
Emit parenthesis around propert/element access expression of casted object literal expression
2017-04-04 11:15:03 -07:00
Nathan Shively-Sanders
013d52a44d
Merge pull request #14952 from Microsoft/fix-scope-checks-of-class-properties
...
Fix scope checks of class properties
2017-04-04 08:45:31 -07:00
Andy Hanson
24b09d8502
Only bind JSDoc typedefs in JavaScript files
2017-04-03 15:00:40 -07:00
Ron Buckton
fd081f40a8
Clean up literal emit
2017-04-03 14:17:03 -07:00
Anders Hejlsberg
545a7f2987
Merge branch 'master' into fixTypeRelationStackOverflow
...
# Conflicts:
# tests/baselines/reference/mappedTypeRelationships.errors.txt
2017-04-03 12:46:04 -07:00
Anders Hejlsberg
0f0a8a17dc
Add regression tests
2017-04-03 12:32:54 -07:00
Nathan Shively-Sanders
a62869c81e
Merge pull request #14657 from erikmcc/master
...
Allow export default abstract class. Related to issue 3792.
2017-03-31 14:56:39 -07:00
Nathan Shively-Sanders
f65819a253
Test:props of class A are usable in prop initialisers of class B
...
Regardless of order of class A and class B
2017-03-31 12:05:12 -07:00
Nathan Shively-Sanders
650cc29219
Test: extending from any
2017-03-29 16:10:27 -07:00
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
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
Mohamed Hegazy
3378f5cb38
Merge branch 'master' into checkJSFiles
2017-03-27 10:46:40 -07:00
Anders Hejlsberg
0b8a9fc3d0
Add regression test
2017-03-27 11:44:49 +02: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
Anders Hejlsberg
5ea146334a
Add regression test
2017-03-23 11:23:26 -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
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
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
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