5852 Commits

Author SHA1 Message Date
Daniel Rosenwasser
145d071f46 Added test with regression in error. 2017-05-12 01:38:02 -07:00
Ron Buckton
3521b9c546 if a JSSpecialPropertyDeclaration has a JSDoc type, use it 2017-05-11 16:23:05 -07:00
Andy
83beae7b8d Merge pull request #15751 from Microsoft/tsx-gotodef
Fix bug for goto-definition on a TSX constructor using an alias declaration
2017-05-11 13:12:22 -07:00
Nathan Shively-Sanders
7803c1ce17 Test:reference ambient block scoped vars in different file 2017-05-11 11:38:26 -07:00
Andy
066bb16173 Merge pull request #15539 from Microsoft/isolated-modules_export-star
Never elide an `export *` when `--isolatedModules` is set
2017-05-10 17:59:08 -07:00
Andy
2ba89fc534 Merge pull request #15538 from Microsoft/isolated-modules_re-export-type
Don't allow to re-export a type when '--isolatedModules' is set
2017-05-10 17:58:49 -07:00
Andy
12cfa248c1 Merge pull request #15673 from Microsoft/import-star-export-equals
Given `import *` of an `export =` module, raise an error but still return a symbol.
2017-05-10 17:04:04 -07:00
Andy
69324278d1 Merge pull request #15741 from Microsoft/import_propertyName_isWriteAccess
isDeclarationName: Return false for LHS of `import { x as y }` and `e…
2017-05-10 16:30:48 -07:00
Andy Hanson
f05a85d56f Fix bug for goto-definition on a TSX constructor using an alias declaration 2017-05-10 15:49:40 -07:00
Andy
8491ad9710 Merge pull request #15743 from Microsoft/findAllRefs-enum-namespace
An enum should include a Namespace SemanticMeaning, and an enum member should have Type SemanticMeaning
2017-05-10 12:58:04 -07:00
Nathan Shively-Sanders
2f0e34149d Merge pull request #15740 from Microsoft/emit-expression-in-extends-nested
Correctly emit expression in extends in namespace
2017-05-10 12:41:11 -07:00
Andy Hanson
f3fe0138a2 Also make EnumMember have Type meaning 2017-05-10 12:21:01 -07:00
Andy Hanson
e26d2ae139 An enum should include a Namespace SemanticMeaning 2017-05-10 12:15:30 -07:00
Andy Hanson
2e36c83f77 isDeclarationName: Return false for LHS of import { x as y } and export { x as y } 2017-05-10 11:52:19 -07:00
Nathan Shively-Sanders
cf2c88c398 Test: no declare in declaration tmp in namespace 2017-05-10 11:48:32 -07:00
Mohamed Hegazy
8321b81124 Merge pull request #15714 from HerringtonDarkholme/lib
fix #15666: mark file as optional in Diagnostic
2017-05-10 09:40:05 -07:00
Nathan Shively-Sanders
3768daeeca Merge pull request #15594 from Microsoft/get-name-of-declaration-wrapper
Get name of declaration uniformly, even for JS-style assignment declarations.
2017-05-10 08:08:07 -07:00
Herrington Darkholme
1bbc94fc67 fix #15666: mark file as optional in Diagnostic 2017-05-10 12:29:53 +08:00
Mohamed Hegazy
1737598935 Merge pull request #15704 from Microsoft/Fix15062-2
Fix #15062: report errors for parameter properties in private constructors
2017-05-09 17:59:58 -07:00
Andy
25796f0432 Merge pull request #15677 from Microsoft/find-all-refs-mapped-type
findAllReferences: Don't need to check for `symbol.declarations`
2017-05-09 12:21:40 -07:00
Mohamed Hegazy
a2dec0d03d Fix #15062: report errors for parameter properties in private constructors 2017-05-09 12:03:08 -07:00
Nathan Shively-Sanders
370b5618a0 Merge branch 'master' into spelling-correction 2017-05-09 10:01:03 -07:00
Yui
cb723cf1dc Merge pull request #15678 from Microsoft/master_allowSpreadGenericType
[Master] Allow spread generic type
2017-05-08 15:57:11 -07:00
Nathan Shively-Sanders
0080c5fd66 Merge branch 'master' into get-name-of-declaration-wrapper
This PR included a fix that I already checked in this morning.
2017-05-08 15:39:57 -07:00
Yui T
36ef849209 Update baaselines 2017-05-08 15:35:17 -07:00
Andy Hanson
73a944711f Remove checks for symbol.declarations 2017-05-08 13:51:08 -07:00
Nathan Shively-Sanders
a72a9aa5d5 Merge pull request #15669 from Microsoft/simplify-js-check-in-index-constraint-errors
Simplify js check in index constraint errors
2017-05-08 13:36:54 -07:00
Kanchalai Tanglertsampan
d17450bbbd Update tests and baselines 2017-05-08 13:35:09 -07:00
Andy Hanson
eb9d4c0586 findAllReferences: Given a synthetic property, find references for the original property. 2017-05-08 13:25:12 -07:00
Andy Hanson
8035e99921 Given import * of an export = module, raise an error but still return a symbol. 2017-05-08 12:00:52 -07:00
Andy
abb2b828b8 Merge pull request #15668 from Microsoft/completions-keyof
In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType
2017-05-08 11:52:39 -07:00
Nathan Shively-Sanders
2e9143aaf0 Clean up test a little 2017-05-08 11:36:30 -07:00
Yui
1b520fce3e Merge pull request #15595 from Microsoft/master-fix15463
[Master] fix 15463
2017-05-08 11:06:48 -07:00
Nathan Shively-Sanders
5ad2ced0c3 Update test with trickier case from #15616 2017-05-08 11:03:41 -07:00
Andy Hanson
9e03d42fda In addStringLiteralCompletionsFromType, use getBaseConstraintOfType instead of getApparentType 2017-05-08 10:33:48 -07:00
Anders Hejlsberg
c39a683504 Merge pull request #15576 from Microsoft/typeVariableTypeGuards
Improve type guards for type variables
2017-05-07 10:52:29 -07:00
Ron Buckton
ada4b3d4d8 Fix var emit order for converted loops 2017-05-05 17:38:23 -07:00
Yui T
d94d490647 Updates tests and baselines 2017-05-05 10:05:50 -07:00
Yui T
5b972b44ff Add tests and baselines 2017-05-05 08:47:52 -07:00
Andy
1511c2eda7 Merge pull request #15593 from Microsoft/jsdoctagnames
Deduplicate jsDocTagNames and sort alphabetically
2017-05-05 07:24:12 -07:00
Kanchalai Tanglertsampan
d103504ba6 Update tests anad baselines 2017-05-04 17:12:52 -07:00
Nathan Shively-Sanders
aceadeb04b Update baselines 2017-05-04 16:13:32 -07:00
Sheetal Nandi
96aca4c7d0 Merge pull request #13540 from Microsoft/metadataReferences
Mark as referenced aliases in Union that will get emitted as part of decorator metadata
2017-05-04 15:04:13 -07:00
Andy Hanson
705774e707 Remove tests that depended on exact number of jsdoc tag names 2017-05-04 14:38:06 -07:00
Andy
7fe1aba82a Merge pull request #15557 from Microsoft/unused-type-parameter
Mark type arguments as used even if used in an invalid way
2017-05-04 14:15:16 -07:00
Ron Buckton
500dd16bc1 Merge pull request #15590 from Microsoft/fix15471
Add check for tslib __await helper
2017-05-04 13:59:54 -07:00
Ron Buckton
cbeb11eabf Add check for tslib __await helper 2017-05-04 13:13:10 -07:00
Anders Hejlsberg
a6dfd66fc1 Update tests 2017-05-04 10:20:13 -07:00
Nathan Shively-Sanders
3e85ac0627 Test:index constraint check on js class expression 2017-05-04 10:12:49 -07:00
Anders Hejlsberg
238067eb3b Add tests 2017-05-03 21:28:17 -07:00