Commit Graph

401 Commits

Author SHA1 Message Date
Ryan Cavanaugh 2f447ee005 Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Wesley Wigham 58400ed771 Merge pull request #5906 from weswigham/this-type-guards
This type predicates for type guards
2015-12-09 17:22:39 -08:00
Wesley Wigham b0bfa0f0dc Merge branch 'master' into this-type-guards 2015-12-08 17:48:33 -08:00
Iain Monro e22863238a Limit error reporting for methods to the method name 2015-12-07 17:37:27 +00:00
Ryan Cavanaugh 6bb62d6daf Merge remote-tracking branch 'upstream/master' into javaScriptPrototypes 2015-12-04 14:12:01 -08:00
Wesley Wigham b9f310d4f2 first pass at this type predicate members 2015-12-03 18:21:36 -08:00
Wesley Wigham a5a6c10322 use typeof to check for presence of JSON global 2015-12-02 21:06:32 -08:00
Wesley Wigham c4cff9833d first pass at this type predicates 2015-12-02 18:35:49 -08:00
Wesley Wigham 81e012f90f dont canonicalize the filename when generating names, just use the absolute path 2015-12-01 18:53:54 -08:00
Wesley Wigham 951a77f7bd respect root dir/common src dir when generating module names 2015-12-01 17:34:40 -08:00
Ryan Cavanaugh c4b0b62bfc Merge fixup 2015-12-01 15:06:53 -08:00
Ryan Cavanaugh c3b59d156f Merge branch 'master' into javaScriptPrototypes
# Conflicts:
#	src/compiler/binder.ts
#	src/compiler/checker.ts
#	src/harness/fourslash.ts
2015-12-01 14:34:15 -08:00
Sheetal Nandi a87169829c Merge branch 'master' into sourceMapAndBreakpointDecorators 2015-11-30 14:14:06 -08:00
Ron Buckton 266600da08 Merge pull request #5780 from Microsoft/extractSourceMaps
Extract source map generation logic out of the emitter.
2015-11-30 12:51:36 -08:00
Wesley Wigham d1c467ff4d Merge branch 'master' into use-common-directory-for-out 2015-11-25 16:41:58 -08:00
Ron Buckton 04d53c1cfe Simpler inline cycle check for stringify 2015-11-25 14:35:44 -08:00
Ron Buckton 6bc2c069a6 Missed linter error. 2015-11-25 13:53:30 -08:00
Ron Buckton b33eff1143 PR feedback 2015-11-25 12:47:32 -08:00
Ron Buckton d88186bc11 Removed isArray branch in checkCycles as it was unnecessary 2015-11-24 17:06:17 -08:00
Ron Buckton fd51ebf0fd Minor stringify cleanup, added cycle detection for AssertionLevel.Aggresive only. 2015-11-24 16:59:55 -08:00
Ron Buckton aa5e57668f minor tweak to null handling in stringify 2015-11-24 16:26:57 -08:00
Ron Buckton 8909c3a2dd Merge pull request #5725 from Microsoft/stringTypesCleanup
Disambiguate string literal types from other string literals.
2015-11-24 15:23:25 -08:00
Sheetal Nandi a7cc86380d Merge branch 'master' into sourceMapAndBreakpointDecorators 2015-11-24 14:53:18 -08:00
Ron Buckton 5c23a5f11e Extract source map generation logic out of the emitter. 2015-11-23 22:38:05 -08:00
Wesley Wigham b11786866b Merge branch 'master' into use-common-directory-for-out 2015-11-20 13:32:12 -08:00
Ryan Cavanaugh fb83ee0a30 WIP 2015-11-20 10:59:13 -08:00
Ron Buckton 4edf330217 Minor comment update 2015-11-20 10:30:47 -08:00
Ron Buckton 0ee4e0b10d Modified cloneNode to ignore own properties of clone. 2015-11-20 10:13:01 -08:00
Ron Buckton 68c292c445 Adds a generic algorithm to create a shallow, memberwise clone of a node. 2015-11-19 17:42:12 -08:00
Ron Buckton f5b8619199 Adds StringLiteralType to SyntaxKind to disambiguate string literals in a type position. 2015-11-19 17:08:51 -08:00
Sheetal Nandi e23b0c65ea Fix the source map emit for decorators
Handled #5584
2015-11-19 16:48:29 -08:00
Wesley Wigham c7a3bee916 Merge branch 'master' into use-common-directory-for-out 2015-11-18 13:10:23 -08:00
Sheetal Nandi a19307d533 Merge branch 'master' into jsFileCompilation 2015-11-18 11:26:58 -08:00
Sheetal Nandi 5ac6eb2d79 PR feedback 2015-11-18 10:48:03 -08:00
Wesley Wigham 7e69f014f3 Always compute a common source directory for a program 2015-11-13 14:41:09 -08:00
Wesley Wigham 732fff225b use common source directory for module paths 2015-11-13 14:12:11 -08:00
Sheetal Nandi fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -08:00
Ron Buckton 5ac4b782e0 Merge branch 'master' into typesCleanup 2015-11-10 14:31:02 -08:00
Ron Buckton 79b7146d0b Cleanup of types 2015-11-10 13:30:26 -08:00
Vladimir Matveev 072e93898d Merge pull request #5535 from Microsoft/computedPropertiesInDestructuringPR
allow computed properties in destructuring, treat computed properties…
2015-11-10 13:11:05 -08:00
Ryan Cavanaugh 69ca1f2e1d Merge remote-tracking branch 'origin/master' into javaScriptModules
# Conflicts:
#	src/compiler/parser.ts
2015-11-09 14:48:37 -08:00
Wesley Wigham 977c3eec22 fix lints 2015-11-09 12:50:38 -08:00
Ryan Cavanaugh e630ce247b Fix merge problems from master 2015-11-09 12:49:36 -08:00
Wesley Wigham cadf54334b Merge branch 'master' into out-module-concat 2015-11-09 12:38:23 -08:00
Ryan Cavanaugh 7dd1bf487d Merge branch 'master' into javaScriptModules
# Conflicts:
#	lib/lib.es6.d.ts
#	lib/tsc.js
#	lib/tsserver.js
#	lib/typescript.d.ts
#	lib/typescript.js
#	lib/typescriptServices.d.ts
#	lib/typescriptServices.js
#	src/compiler/binder.ts
#	src/compiler/checker.ts
#	src/compiler/parser.ts
#	src/compiler/program.ts
#	src/harness/fourslash.ts
2015-11-06 16:49:09 -08:00
Ryan Cavanaugh 3f4e5a4552 Merge branch 'master' into javaScriptModules
# Conflicts:
#	tests/webTestServer.ts
2015-11-06 16:34:38 -08:00
Vladimir Matveev 45746d11a6 make emitter singleton, replace reading file properties with local access, use one constructor function for all nodes 2015-11-06 16:21:43 -08:00
Ryan Cavanaugh 7a94031475 Rename isTsx for clarity 2015-11-06 14:11:15 -08:00
Sheetal Nandi 4c842591f7 Merge branch 'master' into jsFileCompilation 2015-11-06 12:39:42 -08:00
Sheetal Nandi def7b665bb PR feedback 2015-11-05 20:09:40 -08:00