163 Commits

Author SHA1 Message Date
Sheetal Nandi
b514fa58a9 Merge pull request #514 from Microsoft/overloadSignatureDeclaration
Correct the declaration emit for overload implementation if there is single overload signature
2014-08-29 14:33:53 -07:00
Jason Freeman
ad27af1a33 Merge branch 'master' into typeBaselines 2014-08-28 17:24:45 -07:00
Sheetal Nandi
852f2d935c Merge pull request #516 from Microsoft/pinnedComments
Emit pinned or ///<reference> tag comments for signatures, ambient declaraitons and interfaces
2014-08-28 10:51:29 -07:00
Jason Freeman
3388f7bd48 Update baselines 2014-08-27 16:58:31 -07:00
Jason Freeman
b13fb89d51 Merge branch 'master' into typeBaselines 2014-08-27 11:22:49 -07:00
Jason Freeman
aa0ae22b37 Update baselines 2014-08-27 10:06:16 -07:00
Mohamed Hegazy
211008d015 Fix undefined symbol name in error message 2014-08-26 13:03:24 -07:00
Mohamed Hegazy
062823c3d5 add new unit test for getScriptLexicalStructure 2014-08-26 11:03:15 -07:00
Jason Freeman
f93f78d1c2 Adjust baselines after rebase 2014-08-25 11:25:39 -07:00
Jason Freeman
cc20bb19d0 Baseline and harness changes 2014-08-25 10:55:22 -07:00
Sheetal Nandi
c4fdccacb8 Emit pinned/tripleslash reference comments of elided module declaration
Fixes #501
2014-08-22 16:10:33 -07:00
Sheetal Nandi
5353128387 Emit pinned/tripleslash reference comments of ambient declarations
Fixes #501
2014-08-22 16:10:26 -07:00
Sheetal Nandi
393464eb18 Emit pinned/tripleslash reference comments of interfaces
Fixes #501
2014-08-22 16:10:19 -07:00
Sheetal Nandi
85b892fd6a Emit pinned/tripleslash reference comments of signatures
Fixes #501
2014-08-22 16:10:11 -07:00
Sheetal Nandi
e6cd3e15b0 Merge pull request #509 from Microsoft/emitLeadingCommentsForCurly
Emit leading comments for '}' of function/constructor block
2014-08-22 16:01:49 -07:00
Cyrus Najmabadi
9aee22b943 Merge branch 'master' into newLanguageService
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/harness/fourslash.ts
	src/harness/harness.ts
	src/harness/harnessLanguageService.ts
	src/harness/rwcRunner.ts
	src/services/services.ts
2014-08-22 14:23:14 -07:00
Sheetal Nandi
519ef5b383 Correct the declaration emit for overload implementation if there is single overload signature
Fixes  #480
2014-08-22 13:24:57 -07:00
Sheetal Nandi
53d79a25d3 Emit leading comments for '}' of the constructor block
Fixes #503
2014-08-21 17:17:32 -07:00
Sheetal Nandi
45e76e2bd2 Emit leading comments for '}' of the function block
Fixes #503
2014-08-21 17:17:02 -07:00
Sheetal Nandi
d2ae999a48 Enable test case for declaration emit for multiple file emit scenario 2014-08-21 16:15:30 -07:00
Sheetal Nandi
3e2de14933 Emit new lines between source files emit so that the file contents always start on new line
Fixes #500
2014-08-21 13:44:26 -07:00
Sheetal Nandi
6e4d0ef1ef Merge pull request #452 from Microsoft/emitComments
Emit comments in the .js and .d.ts files
2014-08-20 17:07:24 -07:00
Sheetal Nandi
8ad66bb6c6 Compiler test case for commit 0636a06 2014-08-20 16:18:40 -07:00
Sheetal Nandi
b5bd1bf505 Emit detached comments for constructor body 2014-08-19 12:38:56 -07:00
Sheetal Nandi
ebd00bd1bc Emit detached comments for function body 2014-08-19 12:06:52 -07:00
Sheetal Nandi
ce89da227d Include previous token trailing comments for parameters and type parameters as part of leading comments of them 2014-08-19 10:00:38 -07:00
Jason Freeman
f949c5014a Merge branch 'master' into typeWriter
Conflicts:
	src/compiler/types.ts
2014-08-18 19:57:35 -07:00
Jason Freeman
d02d9bfa7e Merge branch 'master' into typeWriter
Conflicts:
	src/compiler/checker.ts
2014-08-18 14:37:21 -07:00
Mohamed Hegazy
54d8722189 Merge branch 'master' into classifier 2014-08-18 14:33:30 -07:00
Sheetal Nandi
e0faa65d4b Merge pull request #455 from Microsoft/formatComment
Align the multiline comments in the generated outputs by retaining its position relative to the first line in the comment
2014-08-18 13:26:18 -07:00
Adam Freidin
d43f28d3a0 baseline for typechecking --declaration 2014-08-15 21:15:41 -07:00
Sheetal Nandi
c4b22d338f Emit comments for expression statements 2014-08-15 15:49:09 -07:00
Cyrus Najmabadi
323ecebf81 Add todo comment tests. 2014-08-15 14:47:10 -07:00
Jason Freeman
971a4c55d4 Remove problematic test (should be added back after issue #463 is fixed) 2014-08-15 14:37:38 -07:00
Jason Freeman
8d13a65d8b Fix test chainedImportAlias to use all of its file regions 2014-08-15 14:37:36 -07:00
Sheetal Nandi
bb638db18d Test cases for trailing comments for import declaration 2014-08-15 13:57:55 -07:00
Sheetal Nandi
720fae1699 Test cases for trailing comments for modules 2014-08-15 13:53:39 -07:00
Sheetal Nandi
4983252056 Test case for trailing comment of enum 2014-08-15 13:50:47 -07:00
Sheetal Nandi
a9092c331d Test cases for trailing comments for class and constructor 2014-08-15 13:49:05 -07:00
Sheetal Nandi
f1df7589ff Test cases for trailing comments for properties 2014-08-15 13:46:20 -07:00
Sheetal Nandi
d8e11e7d25 Test cases for trailing comments for functions and methods 2014-08-15 13:40:48 -07:00
Sheetal Nandi
f2620a4c3d Test cases for trailing comments of accessors 2014-08-15 13:33:24 -07:00
Sheetal Nandi
48c3abd445 Test cases for trailing comments of object literal 2014-08-15 13:30:26 -07:00
Sheetal Nandi
3dd21fc3a7 Trailing comment tests for parameters, fixes the trailing // comments and parameter indentation 2014-08-15 13:18:54 -07:00
Sheetal Nandi
1b64519d52 Tailing Comments for var declarations 2014-08-15 12:44:31 -07:00
Sheetal Nandi
e76d8f36b6 Align the multiline comments in the generated outputs by retaining its position relative to the first line in the comment 2014-08-14 14:43:28 -07:00
Sheetal Nandi
a828507e4e Declaration comments for the type parameter declaration in .d.ts 2014-08-14 08:23:42 -07:00
Sheetal Nandi
5accc9962a Write JsDoc comments for ImportDeclaration in .d.ts file 2014-08-14 07:48:14 -07:00
Sheetal Nandi
f622cb4d11 Merge pull request #381 from branch 'remote/privacyErrors'
Report privacy errors on variable/property declarations and also emit import declarations that get used to defined visible type
2014-08-13 18:48:05 -07:00
Mohamed Hegazy
85b53c74d1 Merge branch 'master' into classifier 2014-08-12 21:43:38 -07:00