3707 Commits

Author SHA1 Message Date
Yui
8ee8d8c63c [Transforms] Add test from fixing 8256 into transforms branch (#8294)
* Update baselines

* Add tests

* Update baselines from merging with transforms
2016-04-25 18:49:47 -07:00
Sheetal Nandi
3667b300ec Merge pull request #8223 from Microsoft/typeReferenceDirectives
[Transforms] Fix type reference directive tests by adding --module amd
2016-04-20 16:17:09 -07:00
Sheetal Nandi
dfb0f68807 Adding testcase for function with rest param defined in jsDoc comment
Test case for #7749
2016-04-20 11:48:28 -07:00
Sheetal Nandi
1814569cc5 Test case when --out is specified for compiling module but --module isnt specified 2016-04-20 11:28:04 -07:00
Sheetal Nandi
11cd54a7e1 Change the tests for typereference directive tests 11 and 12 to use module gen amd so they can emit correctly
Fixes #8182
2016-04-20 11:25:41 -07:00
Nathan Shively-Sanders
f8ab1a5ca6 Merge branch 'master' into transforms 2016-04-18 13:27:33 -07:00
Vladimir Matveev
79a3e77dd8 Merge pull request #8104 from Microsoft/newEntitiesInGlobalAugmentations
permit global augmentations to introduce new names
2016-04-15 15:09:22 -07:00
Paul van Brenk
96deb553d5 Script side implementation for Brace Completion. (#7587)
* Script side implementation for Brace Completion.

This needs updated Visual Studio components to work.

* Changed CharacterCodes to number, to keep the API simple

* CR feedback

* CR feedback and more JSX tests

* Swapped 2 comments

* typo
2016-04-15 11:38:42 -07:00
Vladimir Matveev
6f3f690a8d revert back fix for implicit exports of imports 2016-04-15 11:31:26 -07:00
Vladimir Matveev
0f323ea74a allow top level 'import x = identifier | qname' in module augmentations 2016-04-14 17:57:17 -07:00
Vladimir Matveev
78177cfc2c permit global augmentations to introduce new names 2016-04-14 17:16:53 -07:00
Mohamed Hegazy
8c8eaaa2a2 Check for class expressions when finding related symbols in base types 2016-04-14 11:48:35 -07:00
Vladimir Matveev
e7a4dd4cf5 added validation of paths option 2016-04-13 21:16:39 -07:00
Sheetal Nandi
41c1a5b497 Merge pull request #7945 from Microsoft/renameAndFindRef
Fixes rename for destructuring, named imports and default imports
2016-04-13 15:46:43 -07:00
Vladimir Matveev
7d30e7a3c8 addressed PR feedback: added more tests 2016-04-12 10:01:05 -07:00
Nathan Shively-Sanders
221c0f3656 Update es5 module internal imports test and related baselines 2016-04-12 09:56:51 -07:00
Vladimir Matveev
376c493e67 include type reference directives in .d.ts. files 2016-04-11 21:36:07 -07:00
Sheetal Nandi
dd49c28116 Merge pull request #8014 from Microsoft/strictBlockScopeFunction
Make function block scoped in strict mode and report error in es5 for block scope level declaration of function
2016-04-11 16:48:35 -07:00
Sheetal Nandi
edd098990b Removed debugger; statement 2016-04-11 16:05:36 -07:00
Sheetal Nandi
9d35468d17 Test case for failing scenario of wrongly reporting error of parameter of private method when no implicit any is speicified 2016-04-11 15:06:09 -07:00
Sheetal Nandi
4b0cb640c3 Test cases for functions with same name present in the outerscope 2016-04-11 14:09:27 -07:00
Sheetal Nandi
c2e12efc89 Completion list of named imports shouldnt contain default export member
Fixes #6124
2016-04-11 13:33:16 -07:00
Sheetal Nandi
141dbb8986 Adding test cases for errors resulting because class/modules are strict 2016-04-11 12:20:21 -07:00
Sheetal Nandi
f2c8e5c85e Add test cases for function declarations in block scope 2016-04-11 12:20:00 -07:00
Vladimir Matveev
1a85c5f54c fix issue with optionality of CompilerHost 2016-04-10 20:42:22 -07:00
Vladimir Matveev
e5e7d47782 merge with origin/master 2016-04-08 14:38:47 -07:00
Sheetal Nandi
9e82646ac3 Another test case for rename in destructuring assignment 2016-04-08 13:41:16 -07:00
Sheetal Nandi
1d2730790e Report implicit any errors on destructuring parameter declarations
Handles #6935
2016-04-08 12:22:07 -07:00
Sheetal Nandi
f7ca43917f Handle the rename locations for default import
Handles #7024
2016-04-08 10:19:02 -07:00
Sheetal Nandi
a405f285ec Merge branch 'master' into renameAndFindRef 2016-04-07 15:48:46 -07:00
Sheetal Nandi
2e44bccb36 Test case for nested binding element's rename 2016-04-07 15:45:45 -07:00
Sheetal Nandi
ad916ab05d Handles when property is renamed and is also part of destructuring assignment
Handles destructuring assignment part of #6312
2016-04-07 15:41:42 -07:00
Daniel Rosenwasser
4446727fa6 Merge pull request #7925 from Microsoft/correctStrictPrologueCheckToTransforms
Correct strict prologue check to transforms
2016-04-07 12:37:42 -07:00
Daniel Rosenwasser
9b6f8d1b7a Merge pull request #7924 from Microsoft/correctStrictPrologueCheck
Emit "use strict" if a prologue only contains "use strict" somewhere inside of it
2016-04-07 12:37:33 -07:00
Vladimir Matveev
5c6009ceae Merge pull request #7921 from Microsoft/unqualifiedEnumMembers
emit unqualified enum members as qualified
2016-04-07 11:20:02 -07:00
Sheetal Nandi
6d43c02796 Test cases when var is renamed and used in destructuring 2016-04-07 10:48:21 -07:00
Sheetal Nandi
168d106421 Test cases for destructuring declarations in "for" and "for of" loops 2016-04-07 10:47:57 -07:00
Nathan Shively-Sanders
3704ad74d1 Merge pull request #6739 from Microsoft/this-function-types
This function types
2016-04-07 10:31:01 -07:00
Nathan Shively-Sanders
6c735b5cbf Add contextual typing test with this specified 2016-04-07 07:59:46 -07:00
Daniel Rosenwasser
c57e54eeae Added test. 2016-04-07 00:56:18 -07:00
Daniel Rosenwasser
26e1d8dee0 Added test. 2016-04-07 00:41:40 -07:00
Vladimir Matveev
0e0182c1ea emit unqualified enum members as qualified 2016-04-06 23:49:14 -07:00
Ron Buckton
4ead44db9b Revert to old emit for metadata. Also adds baselines support for transpiler tests.
Fixes #7878.
2016-04-06 18:59:54 -07:00
Sheetal Nandi
01ca100d16 Include the target symbol in search if location is propertyName or the import or export specifier dont specify "as" clause
Handles #7708
2016-04-06 14:24:20 -07:00
Vladimir Matveev
46d28f16cc added supports for 'types' compiler option 2016-04-06 13:49:25 -07:00
Sheetal Nandi
ace2285ac2 Destructuring of object binding pattern element without property name should reference property
Fixes #6312
2016-04-06 12:30:56 -07:00
Vladimir Matveev
e2a23fd598 remove compilationRoot parameter, use typesRoot/config file location as a root when computing primary locations 2016-04-05 16:33:11 -07:00
Yui
988063e9cf Move PropertyKey from es5 to es2015.core
* Move propertyKey definition to es2015.core

* Update baselines to reflect how one will use --lib
2016-04-05 11:08:26 -07:00
Vladimir Matveev
86a51cbe24 update baselines in unittests, fix linter issues 2016-04-05 09:32:09 -07:00
Yui
11887ccc29 Adjustmodularize lib
* Merge array, function, math, number, object, regexp, string into es2015.core

* Update baselines

* Add node.d.ts; need to fix head of the output

* Update unittests from add node as an option for --lib

* Move interface declaration into NodeJS namespace

* Add console into Node.d.ts

* Add compiler baseline-tests for using --lib node

* Change name from full.es2015 to es6. This is a es6 library file used when no --lib is specified and --target is es6

* Remove add node.d.ts into src/lib

Remove node.d.ts

Revert "Update unittests from add node as an option for --lib"

This reverts commit 51692736803d3f75905af695bed07249d3daf24b.

Revert "Add compiler baseline-tests for using --lib node"

This reverts commit 17e437b4c7afb5046539bc71cc32d9084b6f57a2.
2016-04-04 22:02:12 -07:00