Commit graph

653 commits

Author SHA1 Message Date
Ryan Cavanaugh
853e9a2462 Merge pull request #5295 from RyanCavanaugh/detectAdjacentJsxElements
Better error recovery for adjacent JSX elements in expression positions
2015-10-20 13:16:02 -07:00
Vladimir Matveev
f9eaed7f7b Merge branch 'master' into reachabilityChecks 2015-10-19 15:54:45 -07:00
Mohamed Hegazy
8b8d33d8b8 Fix comments 2015-10-16 16:29:11 -07:00
Ryan Cavanaugh
6ccb2a5ef2 Better error recovery for adjacent JSX elements in expression positions
Fixes #5286
2015-10-16 13:47:57 -07:00
Vladimir Matveev
7b126170d1 Merge branch 'master' into reachabilityChecks 2015-10-16 13:13:51 -07:00
Daniel Rosenwasser
725bda834a Merge branch 'master' into stringLiteralTypes 2015-10-15 13:12:49 -07:00
Mohamed Hegazy
21e30e0f59 Merge pull request #5235 from Microsoft/fixDecoratorDiagostics
Fix exception in compiler when type checking decorators with generics.
2015-10-14 12:29:08 -07:00
Mohamed Hegazy
99d448a167 Merge pull request #5231 from Microsoft/removeExperimentalAsyncFunctions
Remove experimental async functions
2015-10-13 14:17:36 -07:00
Vladimir Matveev
55327781c2 suppress reachability errors in remaining tests 2015-10-13 13:06:43 -07:00
Vladimir Matveev
238e1c6f4b partially suppress reachability errors in tests 2015-10-13 11:17:10 -07:00
Vladimir Matveev
bc02341e99 addressed PR feedback, updated tests to suppress reachability errors where they are not needed 2015-10-13 10:58:55 -07:00
Ron Buckton
0fa89ad99c Fixes #5104. 2015-10-12 17:38:55 -07:00
Yui
77eaf04386 Merge pull request #4914 from Microsoft/exponentiation
[ES7] Exponentiation
2015-10-12 16:37:45 -07:00
Mohamed Hegazy
e9bed76baa Remove --experimentalAsyncFunctions from tests 2015-10-12 14:27:58 -07:00
Ryan Cavanaugh
c05297cfea Merge pull request #5178 from RyanCavanaugh/fix5132
Escape quotes when emitting React
2015-10-12 11:56:46 -07:00
Yui T
d3e10b3d3f Merge remote-tracking branch 'origin/master' into exponentiation
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/program.ts
2015-10-12 10:54:46 -07:00
Martin Vseticka
69ff6f5090 Add "A module cannot have multiple default exports." message for multiple "default" exports 2015-10-09 21:37:54 +02:00
Yui T
5e921c1d8d Address PR feedback, remove scriptTarget ES7 2015-10-08 17:12:22 -07:00
Daniel Rosenwasser
6e3343cb9e Merge branch 'master' into stringLiteralTypes 2015-10-08 15:18:18 -07:00
Ryan Cavanaugh
d229ae4be5 Escape quotes when emitting React 2015-10-08 11:28:18 -07:00
Anders Hejlsberg
cae21c09b4 Adding tests 2015-10-08 10:58:58 -07:00
Daniel Rosenwasser
f7a6ac7e0c Added more tests. 2015-10-07 16:10:07 -07:00
Ron Buckton
703af074ff Fixes some checker errors regarding async functions. Fixes #5115. 2015-10-06 16:44:48 -07:00
Yui T
8be77b448f Update test to parse typeAssertion as simpleUnaryExpression 2015-10-06 15:29:21 -07:00
Ron Buckton
64b6c9f52e Fix emit for ES6 export default class with static initializers. Fixes #5136. 2015-10-06 12:02:55 -07:00
Tingan Ho
dd54b7a36f Adds tests 2015-10-06 19:03:11 +08:00
Yui T
a00e90c170 Add and update tests 2015-10-05 19:03:02 -07:00
Nathan Shively-Sanders
4ecf4f4e71 Merge pull request #5086 from Microsoft/abstract-semicolon-insertion
Automatic semicolon insertion for class modifiers
2015-10-05 10:35:42 -07:00
Ryan Cavanaugh
1e3125b8ed Merge pull request #5046 from RyanCavanaugh/fix4675
Handle indirect imports of JSX elements from external modules
2015-10-05 10:28:07 -07:00
Yui T
bf0903bd1b Address PR on fixing tempalte tests 2015-10-02 19:23:19 -07:00
Yui T
ca5da9068a Add tests 2015-10-02 19:23:04 -07:00
Daniel Rosenwasser
4b736da231 Fixed issue in test. 2015-10-02 16:30:22 -07:00
Nathan Shively-Sanders
04510ac157 Automatic semicolon insertion for class modifiers
This includes public, private, protected, abstract

async and declare already work this way, but it looks
like they didn't block the completion list, so I added
them to the list too.
2015-10-02 14:30:31 -07:00
Daniel Rosenwasser
82545ce854 Added test for string types in tuples. 2015-10-01 16:58:03 -07:00
Daniel Rosenwasser
911e907306 Added test for string literal types in type arguments. 2015-10-01 15:26:48 -07:00
Ryan Cavanaugh
590569b87d Handle indirect imports of JSX elements from external modules
Fixes #4675
2015-09-30 15:20:56 -07:00
Anders Hejlsberg
cbe2f3df64 Merge pull request #4910 from Microsoft/polymorphicThisType
Polymorphic 'this' type
2015-09-30 13:18:33 -07:00
Anders Hejlsberg
82c010e12a Adding contextual typing test 2015-09-29 15:26:27 -07:00
Ryan Cavanaugh
c452606cc1 Merge pull request #5007 from RyanCavanaugh/fix4514
Allow /* comments between < and JSX element name
2015-09-29 11:55:29 -07:00
Ryan Cavanaugh
b2797bbaab Correctly emit 'as' operator left operand as expression
Fixes #4832
2015-09-28 17:24:59 -07:00
Ryan Cavanaugh
f780d68499 Allow /* comments between < and JSX element name 2015-09-28 16:11:10 -07:00
Anders Hejlsberg
1c9fae8e0c Add tuple type test 2015-09-27 09:05:17 -07:00
Anders Hejlsberg
19319b2208 Adding test for declaration files 2015-09-26 15:56:00 -07:00
Anders Hejlsberg
abd2a8526d Adding tests 2015-09-26 12:58:53 -07:00
Daniel Rosenwasser
311a0cff55 Added tests. 2015-09-25 17:38:07 -07:00
Yui T
4fc74b2d8a Add and update tests for exponentiation 2015-09-21 16:16:28 -07:00
Yui T
31b8736408 Update existed baselines that are affected by ES7 UnaryExpression 2015-09-21 15:44:59 -07:00
Yui T
04ed89230e Add tests for exponentiation 2015-09-18 17:44:19 -07:00
Daniel Rosenwasser
1ab10adbdc Added tests. 2015-09-17 00:53:17 -07:00
Daniel Rosenwasser
45ecce4710 Merge pull request #4809 from Microsoft/mergeFromRelease1.6
Merge from release-1.6
2015-09-15 15:16:44 -07:00
Daniel Rosenwasser
38b605ea7d Merge branch 'release-1.6'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
	tests/baselines/reference/emptyObjectBindingPatternParameter04.types
	tests/baselines/reference/nodeResolution5.errors.txt
	tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -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
Anders Hejlsberg
a95c42384b Revising test 2015-09-10 16:27:35 -07:00
Daniel Rosenwasser
5aa17cd671 Added tests for parameter initializers. 2015-09-09 12:47:31 -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
Daniel Rosenwasser
3518ad1723 Added more test cases. 2015-09-04 12:14:57 -07:00
Daniel Rosenwasser
e3657bccff Added tests. 2015-09-01 17:36:20 -07:00
Daniel Rosenwasser
9d3907ffbe Added declaration option to empty destructuring tests. 2015-09-01 17:24:58 -07:00
Anders Hejlsberg
f28e424d31 Adding tests 2015-09-01 13:16:54 -07:00
Ryan Cavanaugh
90aff0c654 Use synthetic identifier during emit instead 2015-08-28 14:00:36 -07:00
Ryan Cavanaugh
6b476b2b5f CR feedback 2015-08-28 13:59:29 -07:00
Ryan Cavanaugh
0e4fdf8373 Use synthetic identifier during emit instead 2015-08-26 16:12:50 -07:00
Ryan Cavanaugh
6b5a14a353 CR feedback 2015-08-26 15:28:21 -07:00
Ryan Cavanaugh
c68fc53e37 Correctly emit imported 'React' references in JSX.
Fixes bug #4422
2015-08-26 13:26:51 -07:00
Ryan Cavanaugh
27dabe49e0 Merge remote-tracking branch 'upstream/master' into fix4376_2
# Conflicts:
#	src/compiler/emitter.ts
2015-08-21 14:49:48 -07:00
Vladimir Matveev
ea1512e466 Merge pull request #4394 from Microsoft/browserifyFix
use Harness.IO instead of sys in harness
2015-08-21 14:25:44 -07:00
Vladimir Matveev
68d6d8c550 use Harness.IO instead of sys in harness 2015-08-21 00:31:25 -07:00
Ryan Cavanaugh
6eca09b062 Handle non-entities as well 2015-08-20 12:30:12 -07:00
Ryan Cavanaugh
67f81bc53c Convert HTML entities to strings (#4125) 2015-08-20 12:20:28 -07:00
Ryan Cavanaugh
f659c9098c Fix React whitespace emit #4376 2015-08-20 11:38:03 -07:00
Anders Hejlsberg
7376e4845d Merge pull request #4200 from Microsoft/unionPartialSignatures
Partial matches in union type signatures
2015-08-13 23:16:48 -07:00
JBerger
500861c4f8 Test cases that address https://github.com/Microsoft/TypeScript/issues/4288 2015-08-12 15:34:03 -06:00
zhengbli
b3f0a2a2e4 Merge branch 'master' into JSDocCommentScaffolding 2015-08-10 12:55:45 -07:00
Arthur Ozga
92f152cb8e Merge pull request #4205 from Microsoft/fixAbstractAssignabilityRestriction2
Fix abstract assignability restriction2
2015-08-07 16:01:43 -07:00
Anders Hejlsberg
d372eb4ef5 Adding new test 2015-08-07 08:06:10 -07:00
Arthur Ozga
a693e82e27 Added test 2015-08-06 17:27:52 -07:00
Anders Hejlsberg
105979a89f Addressing CR feedback 2015-08-06 17:17:20 -07:00
Ron Buckton
bb4aa2c489 Merge pull request #3899 from Microsoft/fixTypeResolutionInTypeSerialization
Fix emit for decorator type metadata.
2015-08-06 16:32:24 -07:00
Ron Buckton
f0458f4e60 Merge branch 'master' into fixTypeResolutionInTypeSerialization 2015-08-06 15:45:24 -07:00
Anders Hejlsberg
d317bd1340 Adding/fixing tests 2015-08-06 15:21:30 -07:00
Arthur Ozga
082a5ade47 merged with master 2015-07-31 10:03:48 -07:00
Ryan Cavanaugh
5f96788ddb Implements #4105 - a string indexer in 'props' disables errors
due to surplus attributes
2015-07-31 09:55:11 -07:00
Ryan Cavanaugh
7e9e920d1e Merge pull request #4079 from RyanCavanaugh/fixJsxSourceMaps
Correctly emit source maps when emitting JSX text under --jsx preserve
2015-07-30 22:11:14 -07:00
Ryan Cavanaugh
d4bb3539e0 Add a source map test for JSX preserve 2015-07-29 14:49:57 -07:00
Ryan Cavanaugh
9f7e71d9e8 Merge remote-tracking branch 'upstream/master' into fix4060
Conflicts:
	src/compiler/emitter.ts
2015-07-28 15:32:53 -07:00
Ryan Cavanaugh
da39a8be10 Don't forget about spread attributes 2015-07-28 15:31:39 -07:00
Ryan Cavanaugh
fc9b10eeb6 Correctly identify JSX expressions as identifier parents 2015-07-28 13:49:39 -07:00
Daniel Rosenwasser
92902011ce Added a test. 2015-07-27 11:45:10 -07:00
Daniel Rosenwasser
cf801efb20 Added test. 2015-07-27 10:12:52 -07:00
Arthur Ozga
80db03efaa Added a regex test 2015-07-24 15:28:48 -07:00
Daniel Rosenwasser
ae68352805 Merge remote-tracking branch 'origin/master' into disallowDefaultExportDeclMerging 2015-07-22 12:01:15 -07:00
Daniel Rosenwasser
f631a20140 Added another test. 2015-07-21 17:12:50 -07:00
Jason Freeman
27c339aa90 Merge branch 'master' of https://github.com/Microsoft/TypeScript into tupleTypesAny 2015-07-17 14:16:28 -07:00
Jason Freeman
a74d64baa6 Add tests 2015-07-16 19:03:54 -07:00
Daniel Rosenwasser
90f3153eac Renamed tests. 2015-07-16 17:43:15 -07:00
Daniel Rosenwasser
987dc1f5d0 Added tests. 2015-07-16 17:23:43 -07:00
Daniel Rosenwasser
255fc65410 Tabs to spaces. 2015-07-16 16:34:47 -07:00