Commit Graph

6862 Commits

Author SHA1 Message Date
Cyrus Najmabadi
b5077bf372 Remove HarnessDiagnostics. Just use the normal ts Diagnostic instead. 2015-06-03 16:28:14 -07:00
Arthur Ozga
5ef426ca02 new baselines 2015-06-03 16:11:19 -07:00
Arthur Ozga
015c2c1ab2 Merge branch 'master' into mergedDeclarationClassInterface 2015-06-03 16:05:44 -07:00
Arthur Ozga
365ea3d909 Check for ambient context instead of ambient flag 2015-06-03 15:51:59 -07:00
Cyrus Najmabadi
12bea33fe3 Remove last read reference of TypeFlags.Any 2015-06-03 15:37:09 -07:00
Anders Hejlsberg
ca4bf6bf03 Merge pull request #3188 from Microsoft/tsConfigExclude
Support "exclude" property in tsconfig.json
2015-06-03 15:35:04 -07:00
Zhengbo Li
c701f307bf Merge branch 'master' of https://github.com/Microsoft/TypeScript into updateDomDTs 2015-06-03 15:25:36 -07:00
Vladimir Matveev
ef54047a65 address PR feedback 2015-06-03 15:22:17 -07:00
Cyrus Najmabadi
7b17f6ec8c Don't check if *all* constituent types are 'any'.
Instead check if *any* of hte constituent types are 'any', or if *all*
if the constituent types have some other flag.
2015-06-03 15:16:16 -07:00
Anders Hejlsberg
990f19b69e Merge branch 'master' into tsConfigExclude
Conflicts:
	src/compiler/sys.ts
2015-06-03 15:12:13 -07:00
Anders Hejlsberg
b55117792f Merge pull request #3316 from Microsoft/circularInstantiatedTypes
Detect circular instantiated types
2015-06-03 15:08:00 -07:00
Cyrus Najmabadi
7ca13ee945 Check for 'any' only by using the flag, not by checking for instance equality. 2015-06-03 15:06:58 -07:00
Daniel Rosenwasser
ca884d434f Merge branch 'master' into testPerf
Conflicts:
	src/harness/harness.ts
2015-06-03 14:56:08 -07:00
Vladimir Matveev
7e3a3f45e1 emit module name for system modules, add moduleName argument to 'transpile' function 2015-06-03 14:55:42 -07:00
Arthur Ozga
323ce24287 new baselines got mergeClassInterfaceAndModule 2015-06-03 14:28:18 -07:00
Arthur Ozga
143890b117 New test 2015-06-03 14:22:39 -07:00
Arthur Ozga
d000e0164b updated baselines to reflect new error message 2015-06-03 14:17:29 -07:00
Anders Hejlsberg
87d43aa6f5 Merge branch 'master' into circularInstantiatedTypes
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
2015-06-03 14:13:16 -07:00
Arthur Ozga
29c9286cbc Updated error message 2015-06-03 14:11:13 -07:00
Anders Hejlsberg
dd8f3c41ad Addressing CR feedback 2015-06-03 14:08:37 -07:00
Arthur Ozga
2b899f129a simplified check 2015-06-03 14:05:18 -07:00
Cyrus Najmabadi
cdb6d5bca5 Don't access the anyType directly. Encapsulate all access to it behind a helper. 2015-06-03 13:56:55 -07:00
Daniel Rosenwasser
64a31e2e51 Renamed functions, removed the duplicates found from renaming. 2015-06-03 13:51:53 -07:00
Vladimir Matveev
269ae3ab99 introduce FileMap to store mappings with filenames as keys 2015-06-03 13:48:34 -07:00
Daniel Rosenwasser
3fe308d2a6 Added an explanation for the lookahead. 2015-06-03 13:46:13 -07:00
Zhengbo Li
c7b2fe016d Remove the DocumentEvent itself from createEvent overload. 2015-06-03 13:40:36 -07:00
Jason Freeman
1bb46e3f33 Update LKG after commit 34a5514fef 2015-06-03 13:39:25 -07:00
Jason Freeman
34a5514fef Rename new test 2015-06-03 13:36:52 -07:00
Jason Freeman
9394c5ca04 Add test for object literal methods 2015-06-03 13:36:51 -07:00
Jason Freeman
22cc3a7d84 Add hopefully helpful comment 2015-06-03 13:36:50 -07:00
Jason Freeman
46da6678ad Return expressions always need to be type checked 2015-06-03 13:36:49 -07:00
Daniel Rosenwasser
6a7ce44aad a deer, a female deer -> does 2015-06-03 12:51:07 -07:00
Daniel Rosenwasser
bca3d014fd Limit scope of function expressions to themselves. 2015-06-03 12:50:56 -07:00
Daniel Rosenwasser
035962bee1 Added test for find all refs of function expressions. 2015-06-03 12:48:23 -07:00
Daniel Rosenwasser
934a3bfc6d Fixed 'displayName'. 2015-06-03 12:48:08 -07:00
Daniel Rosenwasser
6f925acacb Add rename tests for function expressions. 2015-06-03 12:34:41 -07:00
Daniel Rosenwasser
33693e87dd Adjust expectations. 2015-06-03 12:34:36 -07:00
Daniel Rosenwasser
2c4bb5717c Find the references themselves. 2015-06-03 12:34:31 -07:00
Daniel Rosenwasser
ddb67e461a Fixed tests. 2015-06-03 12:34:26 -07:00
Daniel Rosenwasser
b9ddfcc082 Spit out JSON when expected =/= actual. 2015-06-03 12:34:21 -07:00
Daniel Rosenwasser
2539ebe29f Verify references count. 2015-06-03 12:34:16 -07:00
Daniel Rosenwasser
cf193a4dc4 Renamed tests. 2015-06-03 12:34:11 -07:00
Daniel Rosenwasser
70911a31b6 Adjust tests. 2015-06-03 12:34:05 -07:00
Daniel Rosenwasser
24c504415e Error smarter. 2015-06-03 12:33:59 -07:00
Daniel Rosenwasser
693c587b86 Removed unused code, use valueDeclaration for symbol. 2015-06-03 12:33:53 -07:00
Daniel Rosenwasser
9907d62f3b Added rename tests. 2015-06-03 12:33:48 -07:00
Daniel Rosenwasser
1a17aba26a Added tests. 2015-06-03 12:33:42 -07:00
Daniel Rosenwasser
531f3aa0ac Nodes -> Node 2015-06-03 12:33:36 -07:00
Daniel Rosenwasser
3cd480ddb6 Accepted baselines. 2015-06-03 12:05:53 -07:00
Daniel Rosenwasser
3cac56af1a Fixed case for the 'declare' keyword. 2015-06-03 12:05:12 -07:00