7954 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
Anders Hejlsberg
262f122d99 Adding "." to error message 2015-09-10 17:03:13 -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
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
c90276f73c Merge pull request #4705 from Microsoft/keywordInJsxIdentifier
allow jsx identifiers to start with keywords
2015-09-10 15:00:09 -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
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
5989d48267 addressed PR feedback 2015-09-10 12:05:23 -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
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
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
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
Vladimir Matveev
83214150f8 do not emit '=' in jsx attribute if initializer is missing 2015-09-08 18:40:30 -07:00
SaschaNaz
50f9f4df85 Merge remote-tracking branch 'Microsoft/master' 2015-09-07 13:51:19 +09:00
Anders Hejlsberg
055363c98d Accepting new baselines 2015-09-06 08:55:48 -07:00
Anders Hejlsberg
27380f40dc Adding test 2015-09-06 08:55:13 -07:00
Anders Hejlsberg
546da60a2a Correct propagation of includePatternInType flag 2015-09-06 08:54:38 -07:00
Anders Hejlsberg
31f8a8148c Adding test for excess/missing properties 2015-09-05 15:46:45 -07:00
Anders Hejlsberg
f801420946 Accepting new baselines 2015-09-05 15:46:20 -07:00
Anders Hejlsberg
a0ddd437ef Modifying tests 2015-09-05 15:45:20 -07:00
Anders Hejlsberg
bb8179766a Check for excess properties 2015-09-05 15:42:58 -07:00
Anders Hejlsberg
e40b86f195 Accepting new baselines 2015-09-05 13:19:06 -07:00
Anders Hejlsberg
dc8ad6eb5e Store binding pattern in contextual type 2015-09-05 13:17:33 -07:00
Daniel Rosenwasser
971c777031 Merge pull request #4659 from progre/fix-errormessagetypo
Fix error message typo.
2015-09-05 10:47:29 -07:00
progre
52c99634ff #4396 fix error message typo 2015-09-05 11:16:27 +09:00
Daniel Rosenwasser
4a85546f94 Merge pull request #4497 from weswigham/patch-4
Add system argument to readConfigFile
2015-09-04 18:10:46 -07:00
Daniel Rosenwasser
69b9a1b74a Merge pull request #4658 from weswigham/patch-5
Add debug option to runtests
2015-09-04 18:08:48 -07:00
Wesley Wigham
bd520e10ca Add debug option to runtests
Running `runtests` with `debug` will cause mocha to run in debug mode and break on the first line, enabling one to connect a debugger to the running tests and step through a test at their leisure.
2015-09-04 18:01:43 -07:00
Mohamed Hegazy
d8c6f7edc3 fix additional places where class expression should be queried 2015-09-04 17:46:26 -07:00
Mohamed Hegazy
3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07:00
vilicvane
8d45711395 Else on the next line 2015-09-05 06:43:37 +08:00
Vladimir Matveev
2d37a44df4 Merge pull request #4646 from Microsoft/formattingJsxAttributes
handle jsx identifiers correctly, indent content of JsxSelfClosingEle…
2015-09-04 12:59:13 -07:00
Daniel Rosenwasser
6c23a6b534 Merge pull request #4638 from SaschaNaz/fixCommentIndentation
Fix comment indentation
2015-09-04 12:15:30 -07:00
Sheetal Nandi
46c005749b Merge branch 'release-1.6' 2015-09-04 11:21:41 -07:00
Sheetal Nandi
0573c0b006 Merge pull request #4599 from Microsoft/decoratorInferredType
If Type annotation is missing, emit design:Type as Object
2015-09-04 11:19:17 -07:00
Vladimir Matveev
35d608692b handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 10:53:33 -07:00
vilicvane
32d8a22990 Add tests for issue #4603 2015-09-04 22:15:10 +08:00
vilicvane
856f2d895c Fix issue #4603 2015-09-04 21:47:28 +08:00