2596 Commits

Author SHA1 Message Date
Vladimir Matveev
9aeb0f8566 merge with master 2015-09-15 13:39:19 -07:00
Mohamed Hegazy
48d0e6d197 Update tests to use "removeComments" instead of "comments" 2015-09-15 12:08:55 -07:00
Mohamed Hegazy
4c1089f781 Merge branch 'master' into cleanHarnessOptionLoading
Conflicts:
	tests/cases/compiler/pinnedComments1.ts
2015-09-15 12:08:37 -07:00
Mohamed Hegazy
c63dfbd4c7 Update node resolution tests 2015-09-15 11:43:28 -07:00
Vladimir Matveev
beb1aa3d0a addressed PR feedback 2015-09-15 10:36:55 -07:00
Mohamed Hegazy
ee5881ef9c Merge branch 'master' into cleanHarnessOptionLoading
Conflicts:
	src/harness/harness.ts
2015-09-14 16:53:08 -07:00
Vladimir Matveev
5636655cf4 report error if module name is empty 2015-09-14 14:33:35 -07:00
Vladimir Matveev
b62ef0d452 initial revision of reachability checks in binder 2015-09-14 13:56:23 -07:00
Vladimir Matveev
90273f995d Merge pull request #4749 from Microsoft/systemExportOnlyValues
Emit export specifiers in system modules only if export has a value side
2015-09-11 10:21:11 -07:00
Vladimir Matveev
026632bca8 Merge pull request #4738 from Microsoft/properExternalModules
Check if imported file is a proper external module for imported node typings
2015-09-11 10:20:42 -07:00
Vladimir Matveev
c72469a66f emit export specifiers in system modules only if export has a value side 2015-09-11 09:36:17 -07:00
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
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
Anders Hejlsberg
a95c42384b Revising test 2015-09-10 16:27:35 -07:00
Vladimir Matveev
e0c16b4332 Check if imported file is a proper external module 2015-09-10 16:00:44 -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
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
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
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
Anders Hejlsberg
27380f40dc Adding test 2015-09-06 08:55:13 -07:00
Anders Hejlsberg
31f8a8148c Adding test for excess/missing properties 2015-09-05 15:46:45 -07:00
Anders Hejlsberg
a0ddd437ef Modifying tests 2015-09-05 15:45:20 -07:00
Mohamed Hegazy
3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07: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
SaschaNaz
b0f0dc1fd8 add tests for comments 2015-09-04 21:38:39 +09:00
Vladimir Matveev
ff640e415f fix 'findPrecedingToken' for jsxText 2015-09-03 13:33:22 -07:00
SaschaNaz
58c732b47d format class expression indentation 2015-09-03 13:33:05 -07:00
SaschaNaz
40112c5137 fix test 2015-09-03 13:32:45 -07:00
SaschaNaz
b8071f99bc format intersection type 2015-09-03 13:32:34 -07:00
Vladimir Matveev
e484305c98 allow backslashes in fileName argument of the transpile function 2015-09-03 13:31:57 -07:00
Vladimir Matveev
dc86736820 Merge pull request #4596 from Microsoft/jsxIndentation
fix 'findPrecedingToken' for jsxText
2015-09-03 13:29:44 -07:00
Vladimir Matveev
4f4c8ee12d Merge pull request #4627 from Microsoft/backslashesInTranspile
allow backslashes in fileName argument of the transpile function
2015-09-03 13:29:27 -07:00
Vladimir Matveev
feddff0b7b Merge pull request #4622 from SaschaNaz/fixClassExpressionIndent
Fix class expression indentation
2015-09-03 11:59:50 -07:00
Vladimir Matveev
9a78b66068 allow backslashes in fileName argument of the transpile function 2015-09-03 09:25:43 -07:00
SaschaNaz
b8e91814bb fix test 2015-09-03 22:45:41 +09:00
SaschaNaz
dfde9e4e10 format intersection type 2015-09-03 22:33:07 +09:00
SaschaNaz
8d1d0d8d70 format class expression indentation 2015-09-03 22:07:52 +09:00