Commit Graph

950 Commits

Author SHA1 Message Date
Anders Hejlsberg
973ba4b50e Allow type parameters in constraints 2015-12-01 15:51:43 -08:00
Wesley Wigham
d74ab2eac7 Merge branch 'master' into autohoist-default 2015-11-25 17:52:51 -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
Wesley Wigham
f28958fe18 Merge branch 'master' into autohoist-default 2015-11-20 13:45:25 -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
883b8d9347 Merge pull request #5471 from Microsoft/jsFileCompilation
Compilation of Js Files
2015-11-19 16:30:40 -08:00
Ron Buckton
7d6100bbe8 Merge pull request #5719 from Microsoft/typesCleanup2
Additional Types cleanup.
2015-11-19 15:32:28 -08:00
Sheetal Nandi
a19307d533 Merge branch 'master' into jsFileCompilation 2015-11-18 11:26:58 -08:00
Ron Buckton
4be0095a7c Clean up unnecessary comment annotations 2015-11-17 10:56:02 -08:00
Ron Buckton
20347ad615 Merge pull request #5597 from Microsoft/typesCleanup
Types cleanup
2015-11-17 10:54:50 -08:00
Ron Buckton
443abe6dea Adds ThisType to SyntaxKind, to distinguish between a 'this' expression and a 'this' type. Needed for transforms 2015-11-17 10:53:29 -08:00
Sheetal Nandi
073b69aaf5 Merge branch 'master' into jsFileCompilation 2015-11-16 12:04:42 -08:00
Sheetal Nandi
fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -08:00
Daniel Rosenwasser
527f4658ad Use string literal types in the command line parser. 2015-11-11 12:25:03 -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
ad61788113 Merge pull request #5266 from Microsoft/javaScriptModules
JavaScript LS scaffolding + JS module inference
2015-11-10 11:59:09 -08:00
Daniel Rosenwasser
9c284805ec Merge pull request #5185 from Microsoft/stringLiteralTypes
String literal types
2015-11-09 17:23:50 -08:00
Daniel Rosenwasser
92d37c3029 Merge pull request #5511 from Microsoft/skipDefaultLibCheckWithNoDefaultLib
Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used
2015-11-09 15:43:26 -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
Daniel Rosenwasser
cece4411ca Get rid of the concept of 'isDefaultLib'. 2015-11-09 14:40:57 -08:00
Wesley Wigham
a32f44f9f4 Add command line flag to allow synthetic default exports 2015-11-09 14:36:00 -08:00
Daniel Rosenwasser
ea4e21d969 Fixed comments. 2015-11-09 13:27:19 -08:00
Wesley Wigham
cadf54334b Merge branch 'master' into out-module-concat 2015-11-09 12:38:23 -08:00
Vladimir Matveev
72723e93be do not report 'excess property error' if object literal pattern contains computed properties 2015-11-07 16:56:16 -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
Sheetal Nandi
4c842591f7 Merge branch 'master' into jsFileCompilation 2015-11-06 12:39:42 -08:00
Anders Hejlsberg
eee211a2a6 Instantiate type parameter constraints with type parameter as 'this' 2015-11-06 08:54:22 -08:00
Vladimir Matveev
db2b23da00 allow computed properties in destructuring, treat computed properties with literal expressions similar to literal named properties 2015-11-04 15:35:21 -08:00
Wesley Wigham
6f9702112f Merge branch 'master' into out-module-concat 2015-11-02 16:57:07 -08:00
Wesley Wigham
265fb518a8 feedback from CR 2015-11-02 16:54:12 -08:00
Daniel Rosenwasser
32b259eb84 Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:31:23 -08:00
Daniel Rosenwasser
e5f105367a Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:28:42 -08:00
Vladimir Matveev
fb15e9c7c0 Merge pull request #4788 from Microsoft/reachabilityChecks
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Daniel Rosenwasser
654cbd9779 Just name the option 'pretty' for now. 2015-11-02 13:20:48 -08:00
Daniel Rosenwasser
fa2e614f9f Merge branch 'master' into iFeelPrettyErr 2015-10-30 18:10:05 -07:00
Wesley Wigham
70fba0b820 Merge branch 'master' into out-module-concat 2015-10-30 15:47:35 -07:00
Sheetal Nandi
9f337bc681 Merge branch 'master' into jsFileCompilation 2015-10-30 12:16:50 -07:00
Wesley Wigham
6c812420ec Merge branch 'master' into out-module-concat 2015-10-30 11:27:34 -07:00
Sheetal Nandi
b217b8b620 Merge branch 'master' into jsFileCompilation 2015-10-30 09:34:32 -07:00
Vladimir Matveev
534bb62c59 remove 'path' suffix from FileMap methods 2015-10-29 16:43:12 -07:00
Vladimir Matveev
e1b4f01e77 introduce Path as branded string type, switch FileMap to use Path 2015-10-29 16:24:00 -07:00
Vladimir Matveev
3f11c0b2de merge with master 2015-10-29 09:33:27 -07:00
Sheetal Nandi
fdb7a3e452 Revert the change to block declaration emit in case of syntax or semantic errors 2015-10-28 16:52:05 -07:00
Sheetal Nandi
a8eb76fde1 Remove the logic for parsing compilation of comma seperated list of strings on command line
Also removed logic to accept multiple values for the option
2015-10-28 15:26:48 -07:00
Sheetal Nandi
ba3d34f9df Instead of --jsExtensions support --allowJs with .js and .jsx as supported extensions 2015-10-28 14:02:46 -07:00
Sheetal Nandi
3215438ddf Dont emit declaration file if there are errors in the source file 2015-10-28 13:06:52 -07:00
Vladimir Matveev
e811fecda6 Merge pull request #5275 from Microsoft/fixCasingAndPathFormat
use absolute path as key to store files, correctly handle scenarios w…
2015-10-27 14:02:35 -07:00