Nathan Shively-Sanders
b04bd66bb2
Get type of target enum outside the lookup loop
2015-12-17 16:18:55 -08:00
Nathan Shively-Sanders
d59831b4e8
Get rid of list and map abstractions to reduce GC pressure
2015-12-17 15:38:02 -08:00
Nathan Shively-Sanders
aa1a7664e7
Add enum/module merge test
2015-12-16 12:11:24 -08:00
Nathan Shively-Sanders
dc9d307f13
Fix lint
2015-12-11 10:08:01 -08:00
Nathan Shively-Sanders
8202576ab2
Filter for enum members only.
2015-12-11 09:56:13 -08:00
Nathan Shively-Sanders
da8e19e191
Use typeof enum to resolve members.
...
Use getTypeOfSymbol >> resolveStructuredTypeMembers >> properties instead
of looking at declarations.
2015-12-10 15:25:01 -08:00
Nathan Shively-Sanders
7530409695
Add merged enum test
2015-12-10 14:28:46 -08:00
Nathan Shively-Sanders
a995b23e4a
Handle merged enums
2015-12-10 14:28:29 -08:00
Nathan Shively-Sanders
ff0138878d
Add tests from review
2015-12-10 13:47:31 -08:00
Nathan Shively-Sanders
cc1d8cf395
Address review comments
2015-12-10 13:47:18 -08:00
Nathan Shively-Sanders
6ed5b59f75
Add test case and accept baseline
2015-12-10 11:05:25 -08:00
Nathan Shively-Sanders
6cd5a4dac9
Compare enums semi-structurally.
...
1. Unqualified names must match.
2. Target contains members with same names as all source members.
2015-12-10 11:03:45 -08:00
Daniel Rosenwasser
ecfeb21965
Merge pull request #6004 from Microsoft/IICEs
...
Fix code for immediately 'new'-ed/invoked class expressions
2015-12-09 14:15:38 -08:00
Daniel Rosenwasser
025210058b
Accepted project baselines over and over until I hit a fixed point where everything passes.
2015-12-08 18:13:51 -08:00
Daniel Rosenwasser
222cd8e5fc
Accepted baselines.
2015-12-08 17:57:41 -08:00
Daniel Rosenwasser
e4c5676f2e
Added test for immediately invoked class expression.
2015-12-08 17:54:33 -08:00
Daniel Rosenwasser
0c4ac799d9
Accepted project baselines.
2015-12-08 17:52:06 -08:00
Daniel Rosenwasser
61972a9f07
Accepted baselines for non-project tests.
2015-12-08 17:51:10 -08:00
Daniel Rosenwasser
c8baadfbc2
Updated unit test.
2015-12-08 17:49:29 -08:00
Daniel Rosenwasser
99ea3ca9b5
Moved a paren.
2015-12-08 17:49:11 -08:00
Ryan Cavanaugh
383cbf06c4
Merge pull request #5996 from RyanCavanaugh/fix5994
...
Disallow modifiers in object literal property assignment
2015-12-08 17:40:50 -08:00
Ryan Cavanaugh
d3c9815526
Improve comment
2015-12-08 17:37:38 -08:00
Ryan Cavanaugh
58427c4d18
Use logic for win
2015-12-08 16:59:52 -08:00
Mohamed Hegazy
88a834574b
Merge pull request #4757 from SaschaNaz/indentSuppressor
...
Expose indentation suppressor from SmartIndenter
2015-12-08 16:36:28 -08:00
Ryan Cavanaugh
992bd7a2e4
Merge pull request #5993 from RyanCavanaugh/fix5991
...
Parse JSX attributes as AssignmentExpressions
2015-12-08 14:40:55 -08:00
Mohamed Hegazy
9d5af80539
Merge branch 'master' of https://github.com/Microsoft/TypeScript
2015-12-08 14:36:17 -08:00
Mohamed Hegazy
378e5c3941
Add full path to spec md file in generate-spec target
2015-12-08 13:55:59 -08:00
Vladimir Matveev
ef1a82fb49
Merge pull request #5108 from Microsoft/elideExportStarForNonValues
...
do not emit exportsStar function if module does not expose any values
2015-12-08 13:52:09 -08:00
Vladimir Matveev
f3e4befc3e
merge with master
2015-12-08 13:28:55 -08:00
Vladimir Matveev
268e7c0d09
Merge remote-tracking branch 'origin/master' into elideExportStarForNonValues
2015-12-08 13:15:56 -08:00
Zhengbo Li
998372709b
Merge pull request #5982 from zhengbli/updateLib
...
Weekly update of lib.d.ts ported from TSJS repo
2015-12-08 11:37:25 -08:00
Ryan Cavanaugh
964fbea9c1
Fix up for 'async'
2015-12-08 10:57:33 -08:00
Mohamed Hegazy
fbb908694a
Merge pull request #5988 from SaschaNaz/formatArrows
...
Format spaces before arrows
2015-12-08 10:20:19 -08:00
Ryan Cavanaugh
92d7d1c953
Disallow modifiers in object literal property assignment
...
Fixes bug #5994
2015-12-08 10:11:29 -08:00
Ryan Cavanaugh
51c547428b
Parse JSX attributes as AssignmentExpressions
...
We should issue an error when parsing `<div x={1, 2} />` as the comma operator is not a legal production in a JSX Expression
Fixes (mitigates?) bug #5991
2015-12-08 09:53:47 -08:00
SaschaNaz
595f134e8b
space around arrow
2015-12-09 00:02:10 +09:00
SaschaNaz
34b303a9c5
directly expose nodeWillIndentChild
2015-12-08 21:39:46 +09:00
SaschaNaz
c8958dece0
Merge remote-tracking branch 'refs/remotes/Microsoft/master'
2015-12-08 16:17:54 +09:00
Zhengbo Li
da009c5b21
update lib.d.ts from TSJS repo
2015-12-07 22:28:02 -08:00
Mohamed Hegazy
64681394d8
Merge pull request #5981 from plantain-00/issue4448-2
...
Improve 'Cannot compile modules unless the '--module' flag is provided.' message
2015-12-07 20:03:14 -08:00
yaoyao
e95ae4f100
Improve 'Cannot compile modules unless the '--module' flag is provided.' message
2015-12-08 08:56:41 +08:00
York Yao
bf8812ee57
Merge pull request #1 from Microsoft/master
...
update
2015-12-08 07:21:48 +08:00
Daniel Rosenwasser
b4f4dadeb6
Merge pull request #5979 from DanCorder/5058
...
Fix for #5058 - Exclude implemented interface functions from autocompletion suggestions.
2015-12-07 15:06:53 -08:00
Dan Corder
c6feaa016a
Remove unnecessary I2 from test case
2015-12-07 22:43:44 +00:00
Ryan Cavanaugh
7c1ef22cff
Merge pull request #5974 from RyanCavanaugh/fix5955
...
Identify JSX closing tags as identifiers so they emit correctly
2015-12-07 12:40:39 -08:00
Ryan Cavanaugh
05c17032a9
Actually include the fix....
2015-12-07 11:57:54 -08:00
Dan Corder
ff4147af01
Fix for #5058 - Exclude implemented interface functions from autocompletion suggestions.
2015-12-07 19:47:56 +00:00
Ryan Cavanaugh
04f8c32d32
Identify JSX closing tags as identifiers so they emit correctly
...
Fixes bug #5955
2015-12-07 11:07:37 -08:00
Nathan Shively-Sanders
31f56fdbfd
Merge pull request #5973 from Microsoft/improve-type-of-Promise.all
...
Explicitly list tuple overloads for `Promise.all`.
2015-12-07 10:19:57 -08:00
Mohamed Hegazy
a405afd40c
Merge pull request #5971 from pimterry/typings-non-string
...
Gracefully handle errors where 'typings' is not a string (fixes #4828 )
2015-12-07 10:03:22 -08:00