Commit Graph

12749 Commits

Author SHA1 Message Date
Andy
e2376a74cc Merge pull request #9185 from Microsoft/simplify_range_tests
Use helper functions to simplify range tests
2016-06-15 11:04:58 -07:00
Andy Hanson
9b6472aec0 Remove old test 2016-06-15 11:00:27 -07:00
Andy Hanson
dd0411a2f3 Allow property declarations in .js files 2016-06-15 09:42:52 -07:00
Anders Hejlsberg
c9e5bcb276 Accept new baselines 2016-06-15 09:35:45 -07:00
Anders Hejlsberg
28b241e615 Add regression test 2016-06-15 09:28:45 -07:00
Anders Hejlsberg
6366a6d6a3 Remove String, Number, and Boolean from TypeFlags.Falsy 2016-06-15 09:28:28 -07:00
Andy Hanson
8a025fcff4 Use helper functions to simplify range tests 2016-06-15 09:05:15 -07:00
Herrington Darkholme
85434c59fc accept baselines 2016-06-15 20:55:50 +08:00
Herrington Darkholme
386fa3e1f6 improve error message for extending interface 2016-06-15 20:54:56 +08:00
Daniel Rosenwasser
74a784c8be Accepted baselines. 2016-06-14 22:38:35 -07:00
Mohamed Hegazy
da3333e967 Clear out unused compiler options when transpiling 2016-06-14 19:24:38 -07:00
Daniel Rosenwasser
52a96ac819 Always check type assertion types. 2016-06-14 19:13:32 -07:00
Daniel Rosenwasser
f786c5c187 Accepted baselines. 2016-06-14 19:03:00 -07:00
Daniel Rosenwasser
14c2bcf73a Added tests. 2016-06-14 19:02:47 -07:00
Mohamed Hegazy
38c89af6b2 Merge pull request #9174 from Microsoft/Fix9173
Fix #9173: clear out lib and types before creating a program in transpileModule
2016-06-14 18:05:06 -07:00
Wesley Wigham
81d6c0718d Make builtLocalCompiler depend on the local servicesFile 2016-06-14 18:00:25 -07:00
Wesley Wigham
c98166ccc7 Accept new LKG (LKGd via gulp) 2016-06-14 17:46:40 -07:00
Mohamed Hegazy
784a76530c Fix #9173: clear out lib and types before creating a program in transpileModule 2016-06-14 17:44:57 -07:00
Wesley Wigham
e0ffe05f02 Alter LKG task to let more be done in parallel 2016-06-14 17:40:33 -07:00
Wesley Wigham
c7c2abbb8b Add needsUpdate check to lib tasks 2016-06-14 17:35:32 -07:00
Wesley Wigham
09ff5325ee Fix lssl task 2016-06-14 17:31:25 -07:00
Wesley Wigham
121bead8d1 Fix run.js depending on the wrong local build target 2016-06-14 16:56:47 -07:00
Nathan Shively-Sanders
cc8d193d4a Calculate readonly? on union/intersection creation 2016-06-14 16:14:59 -07:00
Wesley Wigham
4628e1a809 Add --types to pass an empty array to types to disable @types in Jakefile 2016-06-14 15:19:03 -07:00
Daniel Rosenwasser
82b385f331 Accepted baselines. 2016-06-14 15:15:42 -07:00
Wesley Wigham
ffbdbf0768 Correct package.json indentation 2016-06-14 14:59:16 -07:00
Wesley Wigham
dc14ce2eb2 Give Jakefile its ending newline back 2016-06-14 14:58:26 -07:00
Wesley Wigham
f12d035a89 Fix typos in help text 2016-06-14 14:56:37 -07:00
Wesley Wigham
2634a6713e Merge branch 'master' into remove-jake 2016-06-14 14:52:02 -07:00
Wesley Wigham
2ff408fb95 Add local patch for gulp-typescript types 2016-06-14 14:51:30 -07:00
Wesley Wigham
684ce6e2d1 Add back in Jakefile for transitional period 2016-06-14 14:44:38 -07:00
Wesley Wigham
1defdc3847 Gulfile runs tests and compiles like a champ 2016-06-14 14:41:25 -07:00
Nathan Shively-Sanders
931839c842 Test readonly intersection and union properties 2016-06-14 13:23:53 -07:00
Nathan Shively-Sanders
a826892de1 Unions/intersections of readonly props are readonly 2016-06-14 13:23:08 -07:00
Wesley Wigham
e6838b609d Working on gulpifying things 2016-06-14 13:09:48 -07:00
Anders Hejlsberg
a3635ccd8b Merge branch 'master' into typeGuardDiscriminants
# Conflicts:
#	src/compiler/binder.ts
#	src/compiler/checker.ts
2016-06-14 13:08:17 -07:00
Daniel Rosenwasser
c9bab058d5 Check tuple types when getting the type node's type. 2016-06-14 13:06:28 -07:00
Wesley Wigham
52a1659fb7 fixup! Remove compileFile and exec browserify - use gulp-typescript instead 2016-06-14 12:40:09 -07:00
Wesley Wigham
8f7c6e81be Remove compileFile and exec browserify - use gulp-typescript instead 2016-06-14 12:39:13 -07:00
Sheetal Nandi
30b387183c Merge branch 'master' into removeDotToken 2016-06-14 12:07:20 -07:00
Nathan Shively-Sanders
7890fd58b9 Merge pull request #9088 from Microsoft/add-members-to-variable-declarations-initialised-with-function-expressions
Add members to variable declarations initialised with function expressions
2016-06-14 11:37:36 -07:00
Daniel Rosenwasser
0a1c4c60da Accepted baselines. 2016-06-14 11:36:14 -07:00
Daniel Rosenwasser
5a90c6777a Added tests. 2016-06-14 11:33:41 -07:00
Nathan Shively-Sanders
57f66b8efa Merge pull request #9148 from Microsoft/add-isDefinition-to-references
Add isDefinition to references
2016-06-14 11:12:53 -07:00
Sheetal Nandi
5ea469a8a8 No Need to store dot token when parsing property access expression 2016-06-14 11:02:40 -07:00
Daniel Rosenwasser
8917ddf8a1 Merge pull request #9151 from Microsoft/commonjsShorthands
Fix emit for shorthand properties when they refer to CommonJS exports.
2016-06-14 10:32:20 -07:00
Nathan Shively-Sanders
102a890214 Use isLiteralComputedPropertyDeclarationName 2016-06-14 10:27:36 -07:00
Andy
13a0f5905d Merge pull request #9159 from Microsoft/code_completion_escaping
Code completion escaping
2016-06-14 10:21:40 -07:00
Andy Hanson
6b05ecab5b Fix bug: do unescaping in the right place, so that it only affects escaped javascript identifiers 2016-06-14 09:39:48 -07:00
Nathan Shively-Sanders
7bf40c4935 Add more isDefinition tests and fix computed property bug 2016-06-14 09:39:30 -07:00