Commit Graph

8915 Commits

Author SHA1 Message Date
Anders Hejlsberg
dcb9e1c7a5 Merge pull request #4598 from Microsoft/destructuringInitializers
Improved checking of destructuring with literal initializers
2015-09-11 09:12:45 -07:00
Vladimir Matveev
a880be1f75 resolve merge conflicts, update tests 2015-09-10 21:53:49 -07:00
Vladimir Matveev
031fdf19e0 addressed PR feedback 2015-09-10 21:53:15 -07:00
Vladimir Matveev
98f31635f8 Check if imported file is a proper external module 2015-09-10 21:46:03 -07:00
Vladimir Matveev
f2b8e4b7b6 Merge pull request #4743 from Microsoft/Port-4723
Port PR-4723 into release-1.6
2015-09-10 21:42:03 -07:00
Vladimir Matveev
4b5c2fe31c reattach file diagnostics for modified files when reusing program structure 2015-09-10 21:29:52 -07:00
Mohamed Hegazy
09309d8b6c Merge pull request #4695 from Microsoft/definitionsAsExternalModule
Change typescript.d.ts to be an external module instead of an ambient external module declaration
2015-09-10 17:07:58 -07:00
Anders Hejlsberg
262f122d99 Adding "." to error message 2015-09-10 17:03:13 -07:00
Vladimir Matveev
87e1569d1f resolve merge conflicts, update tests 2015-09-10 17:00:29 -07:00
Vladimir Matveev
04949a005c Merge remote-tracking branch 'origin/master' into properExternalModules 2015-09-10 16:42:17 -07:00
Vladimir Matveev
297c60ea01 addressed PR feedback 2015-09-10 16:42:02 -07:00
Daniel Rosenwasser
b71969e45a Merge pull request #4739 from weswigham/vscode
Rename .settings to .vscode
2015-09-10 16:37:48 -07:00
Anders Hejlsberg
273b9ff1ec Accepting new baselines 2015-09-10 16:27:58 -07:00
Ron Buckton
7610048997 Allow decorators in ES3 2015-09-10 16:27:35 -07:00
Anders Hejlsberg
a95c42384b Revising test 2015-09-10 16:27:35 -07:00
Anders Hejlsberg
d5ff9ee1e1 Error when binding element has no value in initializer and no default 2015-09-10 16:22:50 -07:00
Anders Hejlsberg
aa434a17a0 Merge pull request #4716 from Microsoft/optimizeFreshTypeRelation
Only obtain regular type of fresh object literal type if necessary
2015-09-10 16:14:29 -07:00
Wesley Wigham
32ac25d48f rename .settings to .vscode 2015-09-10 16:12:41 -07:00
Vladimir Matveev
e0c16b4332 Check if imported file is a proper external module 2015-09-10 16:00:44 -07:00
Mohamed Hegazy
50e122f901 Update LKG 2015-09-10 15:19:59 -07:00
Vladimir Matveev
c90276f73c Merge pull request #4705 from Microsoft/keywordInJsxIdentifier
allow jsx identifiers to start with keywords
2015-09-10 15:00:09 -07:00
Daniel Rosenwasser
a4331fd2e2 Merge pull request #4735 from Microsoft/commandLineCrashModuleResolution
Fix command line crash with invalid '--moduleResolution' option
2015-09-10 14:38:30 -07:00
Yui
047b6ace6a Merge pull request #3883 from Microsoft/omitComments
Do not emit /// comments when remove comments is specified
2015-09-10 14:34:53 -07:00
Mohamed Hegazy
2c548892de Merge pull request #4733 from Microsoft/updateVersion
Update version to 1.6.2
2015-09-10 14:31:23 -07:00
Daniel Rosenwasser
535efd1b5d Encode the conditional presence of 'error' in the type system. 2015-09-10 14:28:57 -07:00
Daniel Rosenwasser
4b15c5f628 Added error for bad argument, fixed diagnostic for '--help' message. 2015-09-10 14:23:33 -07:00
Mohamed Hegazy
c18051d5ff Update version to 1.6.2 2015-09-10 14:22:31 -07:00
Mohamed Hegazy
828c37e72b Merge pull request #4730 from Microsoft/fix4727
prerocess `export import` declarations correctly
2015-09-10 14:19:30 -07:00
Daniel Rosenwasser
fae7a129eb Assert condition to track root cause of issue. 2015-09-10 13:50:12 -07:00
Mohamed Hegazy
7e1739604a Fix #4727: prerocess export import declarations correctelly 2015-09-10 13:24:45 -07:00
Yui T
40f05b7f7d Address CR 2015-09-10 13:05:51 -07:00
Daniel Rosenwasser
bed25ddf18 Merge pull request #4641 from vilic/cast-expression-parentheses-with-numeric-literal
Do not omit parentheses for numeric literal with ".property" if it can not be followed by dot operator directly.
2015-09-10 12:14:49 -07:00
Vladimir Matveev
87890af5b4 Merge pull request #4723 from Microsoft/inheritDiagnostics
inherit file processing diagnostics from the old program when reusing program structure
2015-09-10 12:06:43 -07:00
vilicvane
c3323c9a69 Keep parentheses for all numeric literals with property access expression 2015-09-11 03:06:13 +08:00
Vladimir Matveev
2816fdefd0 Merge pull request #4725 from Microsoft/Port-4703
Ports of PR-4703 into release 1.6
2015-09-10 12:06:01 -07:00
Vladimir Matveev
5989d48267 addressed PR feedback 2015-09-10 12:05:23 -07:00
Vladimir Matveev
ee56e60ca0 do not emit '=' in jsx attribute if initializer is missing 2015-09-10 11:39:06 -07:00
Vladimir Matveev
6a77400980 Merge pull request #4703 from Microsoft/jsxEmitAttribiteWithInitializer
do not emit '=' in jsx attribute if initializer is missing
2015-09-10 11:37:36 -07:00
Denis Nedelyaev
6a9bd1432c Simple fix for #4721
This makes relative outDir and other file path options not ignored when they point to the working directory.
No tests are failed.

Another way to fix this is to use `options.somePathOprtion !== undefined` check everywhere, but it would be a more complex change.
What do you think?
2015-09-10 21:16:16 +03:00
Vladimir Matveev
6e24570135 reattach file diagnostics for modified files when reusing program structure 2015-09-10 10:46:39 -07:00
Mohamed Hegazy
4be0ddba53 Merge pull request #4711 from SaschaNaz/mergeRules
Housekeeping formatting rules
2015-09-10 10:38:10 -07:00
Daniel Rosenwasser
96a815878c Merge pull request #4657 from Microsoft/emptyVariableDeclarationBindingPattern
Fix emitted code for variable statement with no bound variables
2015-09-09 16:47:45 -07:00
Anders Hejlsberg
c05650aea3 Actually cache regular version of fresh object literal type 2015-09-09 16:38:04 -07:00
Mohamed Hegazy
a5c72014b0 Merge pull request #4656 from Microsoft/Fix4655
Report error for class expressions incorrectly extending abstract classes
2015-09-09 13:35:42 -07:00
Daniel Rosenwasser
fb889bee4e Accepted baselines. 2015-09-09 13:05:39 -07:00
Daniel Rosenwasser
5aa17cd671 Added tests for parameter initializers. 2015-09-09 12:47:31 -07:00
SaschaNaz
eb2d86aa7b revert newlines 2015-09-10 02:20:15 +09:00
SaschaNaz
8cd8f863b3 remove type operation rules, add types instead 2015-09-10 01:41:21 +09:00
SaschaNaz
44009fa951 Housekeeping part from #4609 2015-09-10 01:37:34 +09:00
Vladimir Matveev
aa29644c2a allow to use keywords as jsx identifiers 2015-09-08 22:40:16 -07:00