Commit Graph
12444 Commits
Author SHA1 Message Date
Daniel Rosenwasser 3cac56af1a Fixed case for the 'declare' keyword. 2015-06-03 12:05:12 -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
Anders Hejlsberg 334b22452a Moving logic around in getReferencedImportDeclaration 2015-06-03 10:59:14 -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
Arthur Ozga f3278e2f0f fixed a grammatical issue 2015-06-03 10:32:59 -07:00
Vladimir Matveev 86d9398a92 clean hostCache to avoid extending lifetime of script snapshots 2015-06-03 10:29:32 -07:00
Arthur Ozga 9e1ab9295f merged with master 2015-06-03 10:22:23 -07:00
jbondc e6ced33c13 Make index types optional in ResolvedType 2015-06-03 11:58:10 -04:00
Anders Hejlsberg 1e39130f41 Unified logic for renamed block scoped locals and other generated names 2015-06-03 06:57:20 -07:00
Tingan Ho 3aa0839d1b Fixes rebase issues 2015-06-03 17:11:11 +08:00
Tingan Ho b0542342c3 Addresses PR feedback 2015-06-03 16:58:57 +08:00
Tingan Ho b7d1df68fb Adds type guard methods 2015-06-03 16:58:56 +08:00
Tingan Ho 9515947092 Adds custom type guard 2015-06-03 16:58:55 +08:00
Zhengbo Li 8b62a326d4 Dom lib file bug fix
Fix #3344; removed duplicated overloads for ``createEvent`` and some
minor fixes.
2015-06-02 19:22:03 -07: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
Arthur Ozga fa9b6fcb07 fixed loops, merged baseline 2015-06-02 17:34: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
Zhengbo Li ea2c9e876f Merge pull request #3307 from zhengbli/ms_master
Add APIs to provide project info for a given file
2015-06-02 16:31:39 -07:00
Cyrus Najmabadi 7ef2cfeaeb Simple changes to the compiler to make the jsDoc work easier. 2015-06-02 16:05:01 -07:00
Arthur Ozga fa06f3e4e6 fixed merge conflict. 2015-06-02 15:58:15 -07:00
Arthur Ozga 0917582a01 removed extra newlines 2015-06-02 15:39:48 -07:00
Arthur Ozga 936aea84da fixed merge conflict 2015-06-02 15:35:37 -07:00
Zhengbo Li a7550dbba1 CR feedback 2015-06-02 15:25: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
Arthur Ozga 90e19551bc merge compatiblity now performed in checker.ts 2015-06-02 15:03:01 -07:00
Daniel Rosenwasser 4d8d1cc956 Merge pull request #3347 from Microsoft/irregularExpressionCompletion
Block completion when in the flags of a regular expression
2015-06-02 14:15:47 -07:00
Cyrus Najmabadi 513183e7b1 PR feedback. 2015-06-02 13:58:49 -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 589a01c51f Block completion when in trailing flags of a regex. 2015-06-02 13:01:44 -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
Arthur Ozga a50ab3ebb0 Remove checking in declareSymbol 2015-06-02 12:20:36 -07:00
Arthur Ozga edc4611341 removed comma 2015-06-02 11:27:40 -07:00
Arthur Ozga 2d77cbdc06 cleaner hasNonAmbientClass 2015-06-02 10:49:22 -07:00
Anders Hejlsberg 8b7caedbec Remove EmitResolver.getExpressionNameSubstitution
Add EmitResolver.getReferencedExportContainer
Add EmitResolver.getReferencedImportDeclaration
Clean up getGeneratedNameForNode in emitter.ts
Switch isNotExpressionIdentifier to isExpressionIdentifier in emitter.ts
Revise emitExpressionIdentifier in emitter.ts
2015-06-02 10:45:50 -07:00
Arthur Ozga 1f74b134f1 fixed style, added comment 2015-06-02 09:30:28 -07:00
SaschaNaz 910079a60e exclude closeparen/propertyaccess tokens 2015-06-02 15:28:29 +09:00
Zhengbo Li 70675162dc Add tests for projectinfo command 2015-06-01 17:45:28 -07:00
Ron Buckton 2cb0dfd99d Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-06-01 17:41:04 -07:00
Ron Buckton f96cf338d9 Merge branch 'release-1.5' into master 2015-06-01 17:40:35 -07:00
Arthur Ozga d25b91032f fixed indentation 2015-06-01 16:45:11 -07:00
Arthur Ozga ed46bc3b58 Fixed intendation typo 2015-06-01 16:43:43 -07:00
Zhengbo Li 040dbd9def Merge branch 'master' of https://github.com/Microsoft/TypeScript into ms_master 2015-06-01 16:34:06 -07:00