Commit Graph
3628 Commits
Author SHA1 Message Date
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
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
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
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 5169273680.

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

This reverts commit 17e437b4c7.
2016-04-04 22:02:12 -07:00
Sheetal Nandi 8b203ec237 Merge pull request #7813 from Microsoft/exportDefaultAssignmentExpression
Fix declaration file for default temp var name in declaration file during bundling
2016-04-04 13:59:13 -07:00
Sheetal Nandi 75ef6772bf Test cases for when default temp var is inserted for export default in the declaration file 2016-04-04 13:34:05 -07:00
Mohamed Hegazy 5fe809bc2c Merge pull request #7713 from Microsoft/Fix7703
Fix #7703: make arrow function span the first line instead of the whole function body
2016-04-04 11:54:53 -07:00
Yui 68bdbe04e7 Merge pull request #7715 from Microsoft/6974AddLibImplementation
6974 add lib implementation
2016-03-30 14:22:41 -07:00
Daniel Rosenwasser 9705c892d7 Merge pull request #5517 from Microsoft/comparableRelation
Introduce the "comparable" relation
2016-03-30 13:37:11 -07:00
Daniel Rosenwasser a3faca57d0 Merge branch 'master' into comparableRelation 2016-03-30 01:01:02 -07:00
Anton Tolmachev 7ce43d4716 Fix #7101 2016-03-29 22:53:30 +03:00
Mohamed Hegazy 155f4879de Review comments 2016-03-29 11:51:04 -07:00
Kanchalai Tanglertsampan 7e1470d5d4 Address PR: use getDefaultLibLocation? insteadof getUserDefinedLibFileName 2016-03-28 16:24:16 -07:00
Kanchalai Tanglertsampan eff81b933c Add compiler-baseline tests and associated baselines for --lib flag
Add --lib compiler tests and baselines

Remove old compiler baselines
2016-03-28 14:48:56 -07:00
Kanchalai Tanglertsampan f052e90fd1 Update fourslash tests 2016-03-28 14:21:08 -07:00
Kanchalai Tanglertsampan 623eef6968 Update unittest for --lib 2016-03-28 14:20:54 -07:00
Kanchalai Tanglertsampan 3fef5ba458 Implement --lib flag in the compiler and harness 2016-03-28 14:20:29 -07:00
Yuichi Nukiyama b16f8e1be4 Throw error when tsconfig.json has excludes without exclude property 2016-03-28 21:23:59 +09:00
Tingan Ho b7c3547937 Merged with master 2016-03-27 02:43:32 +08:00
Mohamed Hegazy bdb741e92a Fix #7629: Check if errros are needed before reporting them in enumRelatedTo 2016-03-25 12:39:43 -07:00
Mohamed Hegazy 8647d2a97c Merge branch 'nestedPrivateProtectedMembers' of https://github.com/AbubakerB/TypeScript into AbubakerB-nestedPrivateProtectedMembers 2016-03-23 17:54:21 -07:00
Mohamed Hegazy 3ee67e7cf6 Fix #7637: treat jsx tag names as expressions 2016-03-22 14:55:24 -07:00
Anders Hejlsberg 3853bb86d0 Merge pull request #7140 from Microsoft/strictNullChecks
Non-nullable types
2016-03-21 16:52:43 -07:00
Mohamed Hegazy 7c99c8f8df Merge pull request #7622 from Microsoft/findAllReferencesForJSXTagNames
Fix issue with find references for jsx tags
2016-03-21 16:28:31 -07:00
Anders Hejlsberg 413d9a639f Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	tests/baselines/reference/typeGuardOfFormTypeOfEqualEqualHasNoEffect.symbols
	tests/baselines/reference/typeGuardOfFormTypeOfNotEqualHasNoEffect.symbols
2016-03-21 16:21:02 -07:00
Vladimir Matveev 4e06457b1d Merge pull request #7595 from Microsoft/revertParseCompilerOptionsFromJson
revert changes in the signature of 'convertCompilerOptionsFromJson'
2016-03-21 16:07:31 -07:00
Mohamed Hegazy d5c3a0a52b Fix issue with find references for jsx tags 2016-03-21 15:40:14 -07:00
Vladimir Matveev e052eb1cda Merge pull request #7621 from Microsoft/dropInferenceLimit
drop inference depth limit
2016-03-21 15:36:36 -07:00
Vladimir Matveev 134a253f57 added API sample to tests 2016-03-21 15:20:59 -07:00
Vladimir Matveev 6f37d31e18 drop inference limit 2016-03-21 15:15:41 -07:00
Vladimir Matveev 497b4c341c revert changes in the signature of 'convertCompilerOptionsFromJson' 2016-03-19 20:59:32 -07:00
Vladimir Matveev 3691261db4 partially revert #7583 2016-03-18 22:26:52 -07:00
Vladimir Matveev 32178acdfe Merge pull request #7583 from Microsoft/colliding-local-import
check if import collides with exported local name
2016-03-18 12:21:51 -07:00
Vladimir Matveev 5ed389b6b4 check if import collides with exported local name 2016-03-18 10:29:01 -07:00
Vladimir Matveev 279fec7a7d Merge pull request #7567 from Microsoft/contextual-type-parameters
show completion in destructured parameter if containing function was contextually typed
2016-03-17 16:30:20 -07:00
Mohamed Hegazy f0b3ff16e3 Merge pull request #7532 from Microsoft/declarationEmitFixes2
Remove members from getAccessibleSymbolChain walk
2016-03-17 15:50:27 -07:00
Vladimir Matveev 112e4b1e80 Addressed PR feedback 2016-03-17 14:40:05 -07:00
Vladimir Matveev 6cfa64daa3 show completion in destructured parameter if containing function was contextually typed 2016-03-17 11:37:52 -07:00
Vladimir Matveev 51e8f7dd7a Merge pull request #7555 from Microsoft/destructuring-variable-declarations
Destructuring in variable declarations when module kind is not ES6
2016-03-17 10:37:34 -07:00
Vladimir Matveev 57d9a5ada5 emit top level classes as class expressions when target=ES6 and module=System 2016-03-16 21:56:53 -07:00
Vladimir Matveev 3ede567fbc use downlevel destructuring for exported variables for target=ES6 if module kind is not ES6 2016-03-16 16:40:35 -07:00
Kanchalai Tanglertsampan 9e2df0459e Address PR 2016-03-16 16:35:51 -07:00
Kanchalai Tanglertsampan f7a55fa5a2 Remove --lib 2016-03-16 14:08:49 -07:00
Kanchalai Tanglertsampan 92bee6a533 Unify error message for custom-type compiler option 2016-03-16 13:49:36 -07:00
Mohamed Hegazy e0ab009a98 Remove members from getAccessibleSymbolChain walk 2016-03-16 13:45:38 -07:00
Kanchalai Tanglertsampan 4d915e59d9 Using ts.filter instead of just .filter 2016-03-15 17:04:18 -07:00
Kanchalai Tanglertsampan 95b43dac29 Handle default compiler-options and typing-options 2016-03-15 16:30:11 -07:00
Kanchalai Tanglertsampan f4e920e2c1 Add unittest for testing convert compiler-options and typing-options 2016-03-15 11:45:21 -07:00
Kanchalai Tanglertsampan 157b8e7456 Add a new unittest for command line parsing for --lib 2016-03-15 11:44:33 -07:00
Anders Hejlsberg b497243f90 Merge branch 'master' into strictNullChecks 2016-03-14 16:31:29 -07:00