Commit graph

6332 commits

Author SHA1 Message Date
Jason Freeman
f66b9c5d77 Fix error message typo 2015-06-02 18:13:39 -07:00
Jason Freeman
eb7290eb70 Add test for object literal methods 2015-06-02 18:06:05 -07:00
Mohamed Hegazy
6902b050ca Respond to code review comments 2015-06-02 18:04:05 -07:00
Mohamed Hegazy
c83054cd4b Merge branch 'release-1.5' into filterTranspileDiagnostics 2015-06-02 18:01:05 -07:00
CyrusNajmabadi
fc445aab04 Merge pull request #2843 from Microsoft/binderSimplification3
Simplify binder flow. (alternate approach)
2015-06-02 18:00:25 -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
Daniel Rosenwasser
70f74ad640 Accepted more baselines. 2015-06-02 17:31:20 -07:00
Daniel Rosenwasser
77306a3ea6 Added more tests. 2015-06-02 17:11:08 -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
CyrusNajmabadi
e671bd6a83 Merge pull request #3351 from Microsoft/minorJsDocMerges
Simple changes to the compiler to make the jsDoc work easier.
2015-06-02 16:20:35 -07:00
Cyrus Najmabadi
7ef2cfeaeb Simple changes to the compiler to make the jsDoc work easier. 2015-06-02 16:05:01 -07:00
Mohamed Hegazy
a10cd1e822 Update LKG 2015-06-02 15:48:59 -07:00
Daniel Rosenwasser
448e8bf0c7 Added baselines. 2015-06-02 15:47:23 -07:00
Daniel Rosenwasser
e93b7a75ce Added tests. 2015-06-02 15:42:24 -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
Cyrus Najmabadi
8fcd29f843 Adding tests. 2015-06-02 15:00:39 -07:00
Daniel Rosenwasser
c25418a02f Merge pull request #3324 from Zoltu/master
Never normalize end-of-lines on clone/commit.
2015-06-02 14:32:11 -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
8b63795a55 Added test where one trailing flag exists. 2015-06-02 13:41:45 -07:00
Daniel Rosenwasser
a71a826b5b Use declared variables to confirm completion. 2015-06-02 13:40:38 -07:00
Daniel Rosenwasser
068a4f3fc3 Accepted baselines. 2015-06-02 13:03:22 -07:00
Daniel Rosenwasser
0229788c65 Added another test. 2015-06-02 13:03:19 -07:00
Daniel Rosenwasser
2b20d3092b Accepted baselines. 2015-06-02 13:03:16 -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
e800e29af7 Accepted baselines for the only test that was expected to pass. 2015-06-02 13:01:18 -07:00
Daniel Rosenwasser
21256a9de5 Added tests. 2015-06-02 13:01:15 -07:00
Daniel Rosenwasser
0a3cbe083b Added tests. 2015-06-02 12:58:49 -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
Daniel Rosenwasser
dcfe920064 Added leading digit. 2015-06-02 12:36:42 -07:00
Daniel Rosenwasser
465ab147af Fixed test that disturbingly wasn't doing anything. 2015-06-02 12:36:04 -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
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
6ef162dbbc Update LKG 2015-06-01 17:40:44 -07:00
Ron Buckton
f96cf338d9 Merge branch 'release-1.5' into master 2015-06-01 17:40:35 -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
Vladimir Matveev
f79f5bb765 Merge pull request #3331 from Microsoft/clean_hostCache
perf: clean hostCache to avoid extending lifetime of script snapshots
2015-06-01 16:32:06 -07:00
Vladimir Matveev
22e493d0d3 clean hostCache to avoid extending lifetime of script snapshots 2015-06-01 16:08:58 -07:00
Ron Buckton
5b94e40149 Merge branch 'decoratorsExperiment' into release-1.5 2015-06-01 15:36:39 -07:00
Ron Buckton
69094b5693 Updated LKG 2015-06-01 15:35:42 -07:00
Ron Buckton
15547c03db Merge pull request #3330 from Microsoft/decoratorsExperiment
Added experimentalDecorators flag
2015-06-01 15:34:59 -07:00