Commit Graph
2920 Commits
Author SHA1 Message Date
Vladimir Matveev d51d616813 merge with master 2015-06-04 10:57:34 -07:00
Vladimir Matveev 113b7ed13d Merge pull request #3368 from Microsoft/fileMap
introduce FileMap to store mappings with filenames as keys
2015-06-03 23:13:06 -07:00
Jason Freeman abf18c5a11 Merge branch 'release-1.5' 2015-06-03 17:56:53 -07:00
Jason Freeman e940fdc534 Don't use innerExpression in parenthesizeForAccess 2015-06-03 17:34:56 -07:00
Jason Freeman 4ccf088734 Don't try to strip parentheses when emitting synthesized parenthesized expressions 2015-06-03 17:22:11 -07:00
Cyrus Najmabadi f526a1b0ff Merge branch 'master' into taggedAny 2015-06-03 16:47:07 -07:00
Cyrus Najmabadi 12bea33fe3 Remove last read reference of TypeFlags.Any 2015-06-03 15:37:09 -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
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
Vladimir Matveev 7e3a3f45e1 emit module name for system modules, add moduleName argument to 'transpile' function 2015-06-03 14:55:42 -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
Anders Hejlsberg dd8f3c41ad Addressing CR feedback 2015-06-03 14:08:37 -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
Vladimir Matveev 269ae3ab99 introduce FileMap to store mappings with filenames as keys 2015-06-03 13:48:34 -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
Mohamed Hegazy 4fd3bcff4f Merge pull request #3359 from jbondc/minor-1
Make index types optional in ResolvedType
2015-06-03 11:53:16 -07:00
Jason Freeman bf95bff6c1 Merge pull request #3353 from Microsoft/errorMessageTypo
Fix error message typo
2015-06-03 10:54:32 -07:00
Jason Freeman a1703d75b5 Merge pull request #3352 from Microsoft/checkFunctionReturnExpression
Always check return expressions when type checking a file
2015-06-03 10:54:22 -07:00
jbondc e6ced33c13 Make index types optional in ResolvedType 2015-06-03 11:58:10 -04:00
Jason Freeman f66b9c5d77 Fix error message typo 2015-06-02 18:13:39 -07:00
Mohamed Hegazy c83054cd4b Merge branch 'release-1.5' into filterTranspileDiagnostics 2015-06-02 18:01:05 -07:00
Jason Freeman 155d7f48ff Add hopefully helpful comment 2015-06-02 17:54:08 -07:00
Cyrus Najmabadi 4c18b2bcf8 Simplify code. 2015-06-02 17:41:34 -07:00
Jason Freeman 1bd7f5274a Return expressions always need to be type checked 2015-06-02 17:34:24 -07:00
Cyrus Najmabadi a85c27739a Merge branch 'master' into binderSimplification3
Conflicts:
	src/compiler/binder.ts
2015-06-02 17:09:23 -07:00
Cyrus Najmabadi 7ef2cfeaeb Simple changes to the compiler to make the jsDoc work easier. 2015-06-02 16:05:01 -07:00
CyrusNajmabadi f624c0fd7e Merge pull request #3296 from Microsoft/jsDocClassification
Add syntactic classification for doc comments.
2015-06-02 15:17:39 -07:00
Daniel Rosenwasser 80e055740f Merge pull request #3348 from Microsoft/fixResolutionForFuncExprsClassExprsAndArgumentsForMaster
Fix resolution of named function & class expressions as well as 'arguments' (for master branch)
2015-06-02 13:56:51 -07:00
Cyrus Najmabadi be97bd250c Merge branch 'master' into jsDocClassification 2015-06-02 13:48:56 -07:00
Daniel Rosenwasser eb95532bfa Don't use 'Value' or 'Type' as they have overlap. Instead test for the precise meaning. 2015-06-02 13:01:24 -07:00
Daniel Rosenwasser baf46a94a6 Only resolve 'arguments' and function/class expression names if the meaning permits it. 2015-06-02 13:01:21 -07:00
Daniel Rosenwasser d1b3ac7c12 Merge pull request #3288 from Microsoft/fixResolutionForFuncExprsClassExprsAndArguments
Fix resolution of named function & class expressions as well as 'arguments'
2015-06-02 12:57:05 -07:00
Ron Buckton f96cf338d9 Merge branch 'release-1.5' into master 2015-06-01 17:40:35 -07:00
Ron Buckton 62ba36908b Added experimentalDecorators flag 2015-06-01 15:01:24 -07:00
Daniel Rosenwasser 9d736bc4b3 Merge pull request #3302 from OleksandrChekhovskyi/master
Follow symlinks when enumerating files in a directory
2015-06-01 13:53:23 -07:00
Oleksandr Chekhovskyi f516ebd0e0 Follow symlinks when enumerating files in a directory 2015-06-01 09:12:26 +02:00
Anders Hejlsberg 46e0ba82ce Remove old (and insufficient) instantiation caching 2015-05-30 17:25:44 -07:00
Anders Hejlsberg 6f734d6ede Addressing CR feedback 2015-05-30 17:11:38 -07:00
Anders Hejlsberg 413176b2a1 Use symbols instead of types in infinite instantiation detection 2015-05-30 16:37:03 -07:00
Anders Hejlsberg a2783edbeb Merge branch 'master' into localTypes 2015-05-30 11:32:59 -07:00
Anders Hejlsberg db30e5745b Removing unnecessary logic 2015-05-30 09:27:06 -07:00
Anders Hejlsberg 3f99b74935 Display nested generic types as f<A>.g<B>.C<X, Y> 2015-05-30 09:17:53 -07:00
Jason Freeman 77b46a2c3d Fix JSDoc error code for to avoid duplicate error code 2015-05-29 17:58:43 -07:00
Jason Freeman 059bb18bac Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.symbols
	tests/baselines/reference/for-of37.symbols
	tests/baselines/reference/for-of38.symbols
	tests/baselines/reference/for-of40.symbols
	tests/baselines/reference/for-of45.symbols
	tests/baselines/reference/for-of50.symbols
	tests/baselines/reference/iterableArrayPattern30.symbols
	tests/baselines/reference/promiseVoidErrorCallback.symbols
	tests/baselines/reference/typedArrays.symbols
2015-05-29 17:14:29 -07:00
Jason Freeman faac853b64 Address PR feedback for generators 2015-05-29 17:03:05 -07:00
Anders Hejlsberg 26b955a4ac Addressing more CR feedback 2015-05-29 08:59:38 -07:00
Cyrus Najmabadi 0f3584e9cc Removing unnecessary code. 2015-05-28 15:04:08 -07:00