Commit graph

753 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
Daniel Rosenwasser
9a9e00487f Added tests. 2015-07-16 16:34:07 -07:00
Ron Buckton
b620cace92 Fixes an issue when resolving a type name as an expression when emitting type metadata for decorators 2015-07-16 15:13:31 -07:00
Daniel Rosenwasser
e2c16962f3 Added tests. 2015-07-15 17:38:51 -07:00
Jason Freeman
8e5f34fb4b Add downlevel emit tests 2015-07-15 15:04:24 -07:00
Jason Freeman
75f97f302a Add tests 2015-07-15 14:42:17 -07:00
Jason Freeman
6954cd2fd7 Add new tests 2015-07-14 11:50:31 -07:00
Arthur Ozga
7664f3410c Merge pull request #3722 from Microsoft/abstractConstructorAssignability
Abstract constructor assignability
2015-07-13 16:36:50 -07:00
Arthur Ozga
e6cf920664 separated tests for readability 2015-07-10 13:47:50 -07:00
Jason Freeman
8bb956eb91 More tests 2015-07-09 14:41:08 -07:00
Jason Freeman
f56298a0cd Add a test 2015-07-09 11:31:24 -07:00
Yui
42bff6bc77 Merge pull request #3772 from Microsoft/allowModifier
Allow modifier on class member for classDeclaration/classExpression inside function
2015-07-08 14:34:41 -07:00
Ryan Cavanaugh
24d22da804 Merge remote-tracking branch 'upstream/master' into fix3737 2015-07-07 15:36:13 -07:00
Yui T
9344bd0a39 Add tests 2015-07-07 13:25:53 -07:00
Ryan Cavanaugh
363dc03d8e Delete some files that shouldn't have existed 2015-07-07 12:54:20 -07:00
Ryan Cavanaugh
311d20fa99 Fix bug #3737 (exported JSX classes props not validated) 2015-07-07 12:46:58 -07:00
Ryan Cavanaugh
1fa74c56a7 Fix up other React tests 2015-07-07 11:37:55 -07:00
Ryan Cavanaugh
1a8200fea7 Add testcase for #3764 2015-07-07 11:01:34 -07:00
Ryan Cavanaugh
f682980216 Merge pull request #3751 from RyanCavanaugh/fix3678
Properly parse keyword-like identifiers in JSX
2015-07-06 17:43:24 -07:00
Ryan Cavanaugh
48c48417a6 Properly parse keyword-like identifiers in JSX 2015-07-06 11:42:06 -07:00
Arthur Ozga
a4c801d49c New Test 2015-07-06 10:31:01 -07:00
Anders Hejlsberg
fc1888ec8a Merge branch 'master' into intersectionTypes
Conflicts:
	tests/baselines/reference/APISample_linter.js
2015-07-03 11:26:38 -07:00
Arthur Ozga
f37a7f5752 Merge pull request #3712 from Microsoft/abstractExtraError
Abstract extra error
2015-07-02 10:59:06 -07:00
Arthur Ozga
c06e5eb8b4 Update test 2015-07-02 10:26:23 -07:00
Arthur Ozga
4878cce73f merged with master 2015-07-02 10:10:17 -07:00
Arthur Ozga
61a9a64619 Added conformance test 2015-07-02 09:37:27 -07:00
Arthur Ozga
c93bde693b added tests 2015-07-01 14:46:18 -07:00
Arthur Ozga
1608845f33 merged with master 2015-07-01 13:51:27 -07:00
Ron Buckton
4b4a96b9dc Merge branch 'master' into asyncFunctions 2015-07-01 09:27:45 -07:00
Anders Hejlsberg
fb1bf420b4 Adding test for inference with intersection type as target 2015-06-30 12:41:03 -07:00
Anders Hejlsberg
a13b64246a Merge branch 'master' into intersectionTypes
Conflicts:
	tests/baselines/reference/APISample_linter.js
2015-06-30 11:57:49 -07:00
Arthur Ozga
d8fe237edf merged in master 2015-06-29 14:34:12 -07:00
Ryan Cavanaugh
40d1719eb7 Add module setting + test files 2015-06-29 11:41:40 -07:00
Ryan Cavanaugh
634d35a7d0 Merge remote-tracking branch 'upstream/master' into jsxAndAs
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/services/services.ts
2015-06-29 09:23:44 -07:00
Anders Hejlsberg
90ffdf77c9 Adding test 2015-06-26 09:48:36 -07:00
Anders Hejlsberg
c623e6cc64 Adding a few more tests 2015-06-25 18:45:03 -07:00
Arthur Ozga
a7ec1c4874 merged master 2015-06-25 13:25:44 -07:00
Ryan Cavanaugh
8180b7d06f Don't error on JSX elements when JSX.Element isn't present 2015-06-25 11:14:45 -07:00
Anders Hejlsberg
d5710349a2 Adding tests 2015-06-24 17:53:43 -07:00
Daniel Rosenwasser
3d8650cd0a Merge pull request #3601 from Microsoft/emptyBindingPatternParam
Emit valid code when a parameter's binding pattern has no elements
2015-06-24 16:50:27 -04:00
Ryan Cavanaugh
65828c4d9f Spreaded anys should satisfy all required properties 2015-06-24 13:49:59 -07:00
Ron Buckton
4645a5b645 Merge pull request #3249 from Microsoft/resolveDecoratorAsCall
Migrated decorator checks to call resolution
2015-06-24 09:58:24 -07:00
Anders Hejlsberg
c5567490c6 Merge pull request #3568 from Microsoft/classExpressions
Class expressions
2015-06-23 17:21:35 -07:00
Anders Hejlsberg
6928bfae12 Adding extra test per CR 2015-06-23 17:00:11 -07:00
Ron Buckton
071ef34e49 Merged branch 'master' into resolveDecoratorAsCall 2015-06-23 15:26:34 -07:00
Arthur Ozga
b332727c7c updated comment in test and baseline 2015-06-23 13:30:10 -07:00
Arthur Ozga
1f6637b495 Added check to test 2015-06-23 11:19:15 -07:00
Arthur Ozga
3eea71786b Fixed some error messages. 2015-06-23 11:08:20 -07:00
Arthur Ozga
1068890fcd Moved tests to classAbstractKeyword folder 2015-06-23 10:33:41 -07:00
Ryan Cavanaugh
b3ca00986f Merge remote-tracking branch 'upstream/master' into jsxAndAs 2015-06-22 22:41:41 -07:00
Daniel Rosenwasser
ebf486f711 Added tests where parameters have initializers. 2015-06-22 17:40:13 -07:00
Daniel Rosenwasser
51246fe893 Tabs -> Spaces 2015-06-22 17:31:52 -07:00
Arthur Ozga
a8d205a2fc new tests 2015-06-22 16:06:17 -07:00
Daniel Rosenwasser
c1d2f60d3a Added tests. 2015-06-22 15:07:49 -07:00
Ryan Cavanaugh
c9a925eb75 Unrelated baseline noise 2015-06-22 11:53:55 -07:00
Ryan Cavanaugh
e448d8b932 Treat </ as a token in TSX files 2015-06-22 11:53:38 -07:00
Ryan Cavanaugh
25553446ef Misc cleanup 2015-06-22 10:31:00 -07:00
Ron Buckton
76c0d32f9d Moved async functions for ES6 behind experimental flag 2015-06-19 18:05:43 -07:00
Arthur Ozga
b7f4ee5478 Merge branch 'master' into abstract-classes2 2015-06-19 15:46:26 -07:00
Arthur Ozga
df3560f6a7 moved tests, added a test 2015-06-19 15:41:33 -07:00
Ryan Cavanaugh
388e73f49f Fix React emit for spread attributes when they are the first attribute 2015-06-19 11:30:34 -07:00
Ryan Cavanaugh
b0750c25b2 Fix emit for boolean attributes 2015-06-18 18:37:32 -07:00
Arthur Ozga
868138834b added tests 2015-06-18 16:07:10 -07:00
Ron Buckton
eb03ae8e7c Added shortcut in checkAwaitedType for isolatedModules 2015-06-18 15:41:19 -07:00
Anders Hejlsberg
f578ee8e05 Adding a few tests 2015-06-18 15:07:49 -07:00
Ron Buckton
c4876d53fd Add support for awaiting union types with mixed promise and non-promise constituents. 2015-06-18 14:26:22 -07:00
Ryan Cavanaugh
bc9b53a6fe Conformance tests for JSX 2015-06-18 14:03:43 -07:00
Ryan Cavanaugh
2b44dcac4d Conformance tests for 'as' operator 2015-06-18 14:03:14 -07:00
Ron Buckton
2891a1d1b7 Cleaned up async return type check 2015-06-18 11:31:03 -07:00
Tingan Ho
752e0ba003 Fixes type predicate crash bug 2015-06-18 23:04:05 +08:00
Arthur Ozga
19b0c519fc merged master 2015-06-17 15:07:49 -07:00
Anders Hejlsberg
2c57776f91 Merge branch 'master' into extendsExpressions
Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/strictModeReservedWordInClassDeclaration.errors.txt
2015-06-16 12:04:04 -07:00
Anders Hejlsberg
d5752592ac Adding basic tests 2015-06-15 16:14:01 -07:00
Ron Buckton
5ebad5889c Merge branch 'master' into asyncFunctions 2015-06-15 11:47:15 -07:00
Daniel Rosenwasser
5f01c09b7e Use reference comments again. 2015-06-14 19:49:50 -07:00
Daniel Rosenwasser
f8534ae3ed Merge branch 'master' into testPerf 2015-06-10 12:36:42 -07:00
Ron Buckton
6fc07e65f5 Merged branch 'master' into asyncFunctions 2015-06-10 12:31:35 -07:00
Jason Freeman
75ed565f81 Don't consume 'is' keyword if there is a preceding line terminator 2015-06-09 11:12:00 -07:00
Anders Hejlsberg
cd59573908 Merge branch 'master' into genericTypeAliases
Conflicts:
	src/compiler/checker.ts
2015-06-09 06:28:56 -07:00
Tingan Ho
efb701387e Merge commits from master 2015-06-09 07:43:05 +08:00
Daniel Rosenwasser
4743cae772 Put the no-default-lib ref comment back in the 1.0 lib test. 2015-06-08 15:02:52 -07:00
Daniel Rosenwasser
50c4290da6 Merge branch 'master' into testPerf
Conflicts:
	Jakefile.js
	src/compiler/program.ts
	src/compiler/types.ts
	src/harness/harness.ts
	src/harness/projectsRunner.ts
	src/harness/runner.ts
2015-06-08 14:45:38 -07:00
Daniel Rosenwasser
6b77c24753 Merge pull request #3365 from Microsoft/painInTheASI
Parse namespaces/types aliases/interfaces/ambient declarations only when they cannot be legal JS
2015-06-08 10:27:15 -07:00
Tingan Ho
51a43dd9d5 Addresses CR feedback 2015-06-08 13:34:49 +08:00
Tingan Ho
b1a8a5fe66 Addresses CR feedback 2015-06-07 22:16:09 +08:00
Anders Hejlsberg
7c2a3c256d Modifying test a bit 2015-06-06 17:54:11 -07:00
Anders Hejlsberg
33517c4635 Adding test as suggested in CR feedback 2015-06-06 17:47:22 -07:00
Tingan Ho
487dff564f Fixes CR feedback 2015-06-06 13:59:19 +08:00
Anders Hejlsberg
bcdbc98dac Adding simple tests 2015-06-05 14:50:15 -07:00
Tingan Ho
fa9a914648 Adds error for non-return positioned type predicates and changed parse type predicate logic 2015-06-05 16:36:02 +08:00
Daniel Rosenwasser
8c422af4bc Added tests for interfaces and tagged templates. 2015-06-04 14:20:14 -07:00
Cyrus Najmabadi
2de07f3563 Merge branch 'master' into lightMode
Conflicts:
	src/compiler/program.ts
2015-06-04 12:47:12 -07:00
Ron Buckton
9560d6f1e9 Merge branch 'master' into asyncFunctions 2015-06-04 11:53:51 -07:00
Arthur Ozga
3a3479d7e2 New Test and Baseline 2015-06-04 11:08:13 -07:00
Tingan Ho
19e725636e Adds PR feedback and removed references to typeguard (class) methods 2015-06-04 19:31:16 +08:00
Cyrus Najmabadi
2bf19e80c3 Speed up tests by not type-checking lib.d.ts unless the test asks for that. 2015-06-04 01:03:02 -07:00
Jason Freeman
abf18c5a11 Merge branch 'release-1.5' 2015-06-03 17:56:53 -07:00
Jason Freeman
7a74d9f8d0 Add tests for parenthesized type assertions 2015-06-03 17:22:38 -07:00
Daniel Rosenwasser
ca884d434f Merge branch 'master' into testPerf
Conflicts:
	src/harness/harness.ts
2015-06-03 14:56:08 -07:00
Arthur Ozga
143890b117 New test 2015-06-03 14:22:39 -07:00
Tingan Ho
b7d1df68fb Adds type guard methods 2015-06-03 16:58:56 +08:00