Commit graph

707 commits

Author SHA1 Message Date
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
Daniel Rosenwasser 813f28d865 Removed assertion. 2014-08-27 17:28:45 -07:00
Daniel Rosenwasser fd93a3b4f7 What's in a name anyhow? 2014-08-27 17:26:58 -07:00
Daniel Rosenwasser 0ce39a3c2a Addressed CR feedback. 2014-08-27 17:19:08 -07:00
Daniel Rosenwasser 04456a261a Made 'isAnyFunction' more exhaustive as it should be. 2014-08-27 16:58:59 -07:00
Daniel Rosenwasser ea613fd0d8 Replaced ES5 functions with analogous core.ts ones. 2014-08-27 16:39:05 -07:00
Daniel Rosenwasser 50d0cdc428 Better coverage against function boundaries. 2014-08-27 16:33:35 -07:00
Mohamed Hegazy 0f9c1adcd8 Merge branch 'master' into getReferences 2014-08-27 16:21:16 -07:00
Daniel Rosenwasser 232e51383f Moved null-guards to appropriate places, added helpers. 2014-08-27 16:07:46 -07:00
Anders Hejlsberg deaf8e4a78 Addressing CR feedback. 2014-08-27 13:54:23 -07:00
Daniel Rosenwasser 3825c9b542 Handled function boundaries. 2014-08-27 12:12:45 -07:00
Jason Freeman b13fb89d51 Merge branch 'master' into typeBaselines 2014-08-27 11:22:49 -07:00
Anders Hejlsberg f4d3c1c6e0 Deferred resolution of object literal members to support recursive types. 2014-08-26 20:45:31 -07:00
Daniel Rosenwasser 88f37e579c Support for switch/case/default/break in getOccs 2014-08-26 17:24:11 -07:00
Mohamed Hegazy 211008d015 Fix undefined symbol name in error message 2014-08-26 13:03:24 -07:00
Daniel Rosenwasser 1f77198c4c Made getOccs more resilient. 2014-08-26 12:27:54 -07:00
Daniel Rosenwasser 558be4ea22 Implemented getOccsAtPos for try-catch-finally. 2014-08-26 11:48:31 -07:00
Daniel Rosenwasser 5d15cd22b1 Beginning special casing for getOccurrencesAtPosition. 2014-08-26 11:44:30 -07:00
Daniel Rosenwasser e851e4b00b Removed unused method. 2014-08-25 17:57:50 -07:00
Daniel Rosenwasser f948f5d3f7 Re-added fourslash tests, corrected failures. 2014-08-25 17:35:18 -07:00
Daniel Rosenwasser 144eb8dc0d Added trivial syntax case. 2014-08-25 17:03:42 -07:00
Daniel Rosenwasser aef859f442 Merge branch 'master' into getReferences
Conflicts:
	src/services/services.ts
2014-08-25 16:51:35 -07:00
Daniel Rosenwasser 5c1b245d1d Initial work on getOccurrencesAtPosition. 2014-08-25 14:20:59 -07:00
Jason Freeman 828a1cd065 More type baseline changes 2014-08-25 11:04:30 -07:00
Jason Freeman cc20bb19d0 Baseline and harness changes 2014-08-25 10:55:22 -07:00
Mohamed Hegazy 892baf0d6c use Identifiers list from the parser to filter getReferences instead of bloomFilters 2014-08-22 22:27:05 -07:00
Mohamed Hegazy 695379404a remove bloom filters 2014-08-22 22:09:36 -07:00
Mohamed Hegazy 8fcc8b26ba Ensure range for string literal references are within the quotes to ensure rename is successful 2014-08-22 22:07:45 -07:00
Mohamed Hegazy c741e26031 Support external module names correctelly 2014-08-22 21:28:27 -07:00
Mohamed Hegazy fefe2fb093 Implement getScope 2014-08-22 16:30:21 -07:00
Daniel Rosenwasser b73558d208 Merge pull request #508 from Microsoft/printDiagnosticCodes
Emit error codes when reporting diagnostics.
2014-08-22 16:21:44 -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
Daniel Rosenwasser 48c6bdb2aa Merge branch 'master' into printDiagnosticCodes 2014-08-22 15:52:04 -07:00
Daniel Rosenwasser 7f4ae93904 Updated error reporting within harness to match that of tsc. 2014-08-22 15:32:40 -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
Daniel Rosenwasser d05a4c40b5 Made diagnostic lowercase. 2014-08-22 12:57:18 -07:00
Daniel Rosenwasser c3590aa233 Turned redeclaration into a string append. 2014-08-21 17:33:55 -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 92e3202604 Fix the compilerRunner when compiling resulting d.ts file when --out is specified 2014-08-21 17:13:27 -07:00
Daniel Rosenwasser 07d56898ee Emit error codes when reporting diagnostics.
Addresses part of issue #506.
2014-08-21 17:08:58 -07:00
Sheetal Nandi 16d1cfd29d Merge pull request #505 from Microsoft/newLineBetweenSourceFiles
Emit new lines between source files emit so that the file contents always start on new line
2014-08-21 16:15:56 -07:00
Mohamed Hegazy f835b7c3b9 Merge pull request #504 from DickvdBrink/fix-declaration-emit-time
Fixed TypeScript.declarationEmitGetAccessorFunctionTime value
2014-08-21 14:03:42 -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
Mohamed Hegazy dbf9e47832 use isDeclarationOrFunctionExpressionOrCatchVariableName instead of isDeclarationIdentifier in the language service and remove unused functions 2014-08-21 13:34:50 -07:00
Sheetal Nandi 753364768e Merge pull request #495 from Microsoft/rwcRunner
Simplifies RWC Runner to use HarnessCompiler.compileFiles so it can be used to baseline errors and sourcemaps more like compiler runner
2014-08-21 13:04:46 -07:00
Mohamed Hegazy 6965a06b04 Support getReferences on rightside of export assignment and import statements 2014-08-21 13:03:46 -07:00
Sheetal Nandi 2ac377cc76 Fixed the file map lookup to use hasOwnProperty 2014-08-21 13:03:08 -07:00
Mohamed Hegazy 5dc017b023 Merge pull request #502 from DickvdBrink/unused-var-parser
Remove some unused variables
2014-08-21 12:55:53 -07:00
Dick van den Brink 606601bc7c Fixed TypeScript.declarationEmitGetAccessorFunctionTime having a wrong value 2014-08-21 21:27:30 +02:00
Dick van den Brink c9e526ffe9 Remove some unused variables 2014-08-21 21:24:33 +02:00
Dick van den Brink 3cbb57fd51 Fix shouldAssert function
this.currentAssertionLevel was always undefined
2014-08-21 21:04:35 +02:00
Mohamed Hegazy bbeeb8df7f update getSymbolInfo 2014-08-21 00:13:29 -07:00
Mohamed Hegazy e0ffc47acc Merge branch 'master' into getReferences
Conflicts:
	src/compiler/checker.ts
2014-08-20 22:55:41 -07:00
Mohamed Hegazy 74518a9b7f respond to code review comments 2014-08-20 22:46:47 -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 8050959c10 Some minor changes as per code review feedback 2014-08-20 16:50:28 -07:00
Sheetal Nandi 412ef61cd8 Baseline sourcemap record from rwc runner 2014-08-20 15:57:25 -07:00
Sheetal Nandi 3d5f692c0a Emit the error file contents and highlight it to show errors for rwc errors 2014-08-20 15:44:52 -07:00
Mohamed Hegazy 978c2ef670 Fix getReferences for labels 2014-08-20 15:35:30 -07:00
Sheetal Nandi 58fca3773f Simplify rwc runner to use the common functionality to get errors, js files etc as part of harness compilation 2014-08-20 15:26:33 -07:00
Mohamed Hegazy 55512faa0d Use new tree to get Bloom filters 2014-08-20 11:25:39 -07:00
Jason Freeman e2071a344c Merge pull request #482 from Microsoft/typeWriter
Support resolution of any part of the RHS of an import
2014-08-20 13:22:28 -04:00
Sheetal Nandi 21020a71d1 Use local source file text to record source map span start 2014-08-19 20:33:36 -07:00
Sheetal Nandi b53e989f88 Emit declarations and sourcemaps in rwc test runner 2014-08-19 20:21:59 -07:00
Sheetal Nandi 0636a067fc Fix the new sourceMapRecording correctly if the multiple files output to single js file and the file ends with interface definition 2014-08-19 20:21:54 -07:00
Sheetal Nandi 4ba7446a7d Emit the line, col information into the rwc runner error baselines 2014-08-19 20:21:50 -07:00
Jason Freeman bfa2e940c0 Support resolution of any part of the RHS of an import 2014-08-19 15:04:30 -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 a11ad539c4 Emit copyright headers before anything else in the sourceFile 2014-08-19 10:43:13 -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
Adam Freidin 828f4c9340 spelling fix 2014-08-19 08:01:12 -07:00
Cyrus Najmabadi 933f416d25 Add bits in tokens to mark if they contain leading/trailing trivia. 2014-08-19 01:37:35 -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 a8c2f82f3c Temporary fix for import case in getTypeOfNode 2014-08-18 19:56:03 -07:00
Jason Freeman a08aa14a74 Address PR feedback 2014-08-18 18:51:18 -07:00
Daniel Rosenwasser 8baee8a785 Merge branch 'master' into diagnosticsCleanup 2014-08-18 15:42:58 -07:00
Daniel Rosenwasser a366984bc9 Reassigned diagnostic codes. 2014-08-18 15:42:27 -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
Jason Freeman dc44edfa5f Clean up local state after the describe callback for each compiler test 2014-08-18 14:29:55 -07:00
Sheetal Nandi 7a5512cdd0 Merge pull request #466 from sparecycles/fix/checker-declaration
fix --declaration typechecking (complex case)
2014-08-18 13:32:50 -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
Mohamed Hegazy 2d4cec43f5 Updates after merge from master 2014-08-18 13:14:20 -07:00
Mohamed Hegazy 3251b7e234 Support filtering references based on meaning 2014-08-18 13:06:18 -07:00
Mohamed Hegazy f8122977a7 include inherited properties from base classes and interfaces in getReference results 2014-08-18 13:03:55 -07:00
Mohamed Hegazy 922d6d6258 support getReferences on properties and index access wiht numeric and string values 2014-08-18 13:03:35 -07:00
Mohamed Hegazy d419982422 Support getReferences on contextually typed object literal properties 2014-08-18 13:03:25 -07:00
Mohamed Hegazy 55d002117c support getReferences on object literals 2014-08-18 13:00:31 -07:00
Mohamed Hegazy fa1033ab7a add support for getReferences on property string index access 2014-08-18 12:41:22 -07:00
Mohamed Hegazy bfd13347d4 Handel getRefrences for labels 2014-08-18 12:41:12 -07:00
Mohamed Hegazy 901e8a83be Add basic getReferences implementation 2014-08-18 12:40:51 -07:00
Mohamed Hegazy f84d2af9e7 disable resolution for now 2014-08-18 12:40:41 -07:00
Mohamed Hegazy 32a5984601 expose utility functions 2014-08-18 12:40:10 -07:00
Mohamed Hegazy 5e9b2b5a2d enbale getReferencesAtPosition 2014-08-18 12:40:00 -07:00
Mohamed Hegazy 8151f5e8ed extract helpers 2014-08-18 12:39:49 -07:00
Cyrus Najmabadi 3439029a76 Indentation. 2014-08-16 19:20:40 -07:00
Cyrus Najmabadi de114d9b6c Rename certain parameters. 2014-08-16 19:03:07 -07:00
Cyrus Najmabadi bc71ef009e Remove unnecessary LS code. 2014-08-16 16:07:55 -07:00
Anders Hejlsberg 63b83e7c3f Contextual typing of array literals is now based on the presence or absence
of numerically named properties and doesn't directly test for tuple types.
2014-08-16 12:06:51 -07:00
Anders Hejlsberg 0cf503fd9f Merge branch 'master' into tupleTypes
Conflicts:
	tests/baselines/reference/typeName1.errors.txt
2014-08-16 11:11:59 -07:00
Adam Freidin 06e858ff40 fix --declaration typechecking (complex case)
This fixes generation of typescriptServices.d.ts,
although this is not a current requirement
( https://github.com/Microsoft/TypeScript/issues/465 ).
2014-08-15 20:16:05 -07:00
Daniel Rosenwasser 5c59360ef7 Merge branch 'master' into diagnosticsCleanup 2014-08-15 17:17:27 -07:00
Daniel Rosenwasser 6287efc24d Merge branch 'master' of https://github.com/Microsoft/TypeScript 2014-08-15 17:13:46 -07:00
Daniel Rosenwasser 00b438bad6 Normalized path for localized diagnostics message map. 2014-08-15 17:13:25 -07:00
Sheetal Nandi 6ad8fa6377 Simplify comment alignment logic 2014-08-15 16:58:38 -07:00
Cyrus Najmabadi 87ebb6b2da add rename localization messages. 2014-08-15 16:22:58 -07:00
Sheetal Nandi 94e0d953c5 Makes sure leading comments are emitting only once 2014-08-15 15:52:30 -07:00
Vladimir Matveev 804bbac61f Merge pull request #462 from Microsoft/missing_checker
create instance of the checker prior to making any types
2014-08-15 15:50:37 -07:00
Sheetal Nandi c4b22d338f Emit comments for expression statements 2014-08-15 15:49:09 -07:00
Cyrus Najmabadi edd82cee48 Fix json for text spans. 2014-08-15 15:34:11 -07:00
Sheetal Nandi 0a75cc2926 Emit comments for if statement 2014-08-15 15:32:43 -07:00
Sheetal Nandi 6036c92784 Emit leading/trailing comments of ifStatement 2014-08-15 15:24:44 -07:00
Sheetal Nandi 1b5023bad3 Emit leading/trailing comments for return statement
Note the detachedComments and copyright headers comment emitting is not part of this change
2014-08-15 15:16:17 -07:00
Cyrus Najmabadi 7f0ae3f882 Change marshalling form for indentation. 2014-08-15 15:06:23 -07:00
Cyrus Najmabadi 323ecebf81 Add todo comment tests. 2014-08-15 14:47:10 -07:00
Sheetal Nandi 09b20d5357 Fixed according to code review feedback 2014-08-15 14:43:22 -07:00
Cyrus Najmabadi 751ac3103d Stop referencing 'this' in functions. 2014-08-15 14:39:45 -07:00
Jason Freeman 91c1a81563 Fix isTypeNode to not consider namespace accesses types 2014-08-15 14:37:41 -07:00
Jason Freeman 14f9ed9235 Only give to typeWriter files that were part of compiled program 2014-08-15 14:37:34 -07:00
Jason Freeman 834a6f71c1 Add logic in checker for getting type of export assignments and imports 2014-08-15 14:37:32 -07:00
Jason Freeman 5574b58d64 Adjust TypeChecker to have separate method for getApparentType 2014-08-15 14:37:29 -07:00
Jason Freeman f4c00455b8 Print types for arbitrary expressions in typeWriter 2014-08-15 14:36:51 -07:00
Jason Freeman 537d8785f3 Change getTypeOfNode to take an apparentType flag 2014-08-15 14:36:49 -07:00
Jason Freeman 6b778f103c Handle type declaration nodes 2014-08-15 14:36:02 -07:00
Jason Freeman 12a0909fdd Add getTypeOfNode function to checker API 2014-08-15 14:36:00 -07:00
Jason Freeman 96fba4d867 TypeWriter logic for identifiers 2014-08-15 14:34:15 -07:00
Jason Freeman 3c6c0353b3 Make the harness invoke typeWriter 2014-08-15 14:34:13 -07:00
Sheetal Nandi 6ab3adfd43 Modified the emitComment logic to handle emitting leading or trailing spaces depending on flags
Leading comments have trailing separator while trailing comments have leading space
This removes the extra trailing space in the trailing comments
2014-08-15 14:32:08 -07:00
Sheetal Nandi 45e8ff8467 Emit the new line before leading declaration comments in the declaration file if source code had it 2014-08-15 14:21:41 -07:00
Vladimir Matveev bf64217615 create instance of the checker prior to making any types 2014-08-15 13:54:19 -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
Anders Hejlsberg eea8409e4f Merge pull request #460 from Microsoft/noArrowLookahead
Removed lookahead for simple arrow function expressions.
2014-08-15 12:54:18 -07:00
Sheetal Nandi 29dcc5ba41 Start leading comments on new line if the comment starts on different line as node 2014-08-15 12:17:36 -07:00
Vladimir Matveev a271b94b9d merge with mastr 2014-08-15 12:06:53 -07:00
Anders Hejlsberg dcddb50f5b Removed lookahead for simple arrow function expressions. 2014-08-15 07:44:56 -07:00
Vladimir Matveev 848e5db646 defer creation of fullTypeCheckChecker 2014-08-14 17:57:17 -07:00
Cyrus Najmabadi 7e70f695bb Revert "Merge branch 'master' into newLanguageService"
This reverts commit d135fa43f5, reversing
changes made to 7ddc00cba9.
2014-08-14 17:49:02 -07:00
Cyrus Najmabadi d135fa43f5 Merge branch 'master' into newLanguageService 2014-08-14 17:48:31 -07:00
Cyrus Najmabadi a1b7c4f54c Revert "Merge pull request #444 from Microsoft/newCompilerLS"
This reverts commit ae5f4c2617, reversing
changes made to 2f963743c4.
2014-08-14 17:37:45 -07:00
Cyrus Najmabadi 7ddc00cba9 Initial port of the new language service work. 2014-08-14 16:51:16 -07:00
Sheetal Nandi adc700aba5 Emit space before emitting trailing comments 2014-08-14 16:36:33 -07:00
Sheetal Nandi f428a16680 Fix the trailing comments for variable declaration and function/arrow expressions 2014-08-14 16:32:21 -07:00
Sheetal Nandi 895a9e7ac5 Some refactoring as suggested in code review feedback 2014-08-14 15:41:57 -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
Anders Hejlsberg 2775fc2add Merge pull request #453 from Microsoft/reportMemoryUsage
Include memory usage in -diagnostics report
2014-08-14 13:11:49 -07:00
Anders Hejlsberg 7d3c006992 Making sys.getMemoryUsage optional. 2014-08-14 13:05:39 -07:00
Anders Hejlsberg 4d62b488b7 Include memory usage in -diagnostics report 2014-08-14 10:52:24 -07:00
Sheetal Nandi 0caa1f6dc7 Emit trailing comments 2014-08-14 09:47:50 -07:00
Sheetal Nandi c949543f49 Fix the indent for the parameter and typeparameter emit in .d.ts file 2014-08-14 09:38:22 -07:00
Sheetal Nandi b8bbb0d547 Declaration comments for parameters in .d.ts file 2014-08-14 09:35:58 -07:00
Sheetal Nandi 6bf73a691a Declaration comments for call, constructo and index signatures in .d.ts 2014-08-14 09:12:20 -07:00
Sheetal Nandi d970c89856 Declaration comments for function declarations in .d.ts 2014-08-14 09:08:53 -07:00
Sheetal Nandi 758fc937e4 Declaration comments for accessors in .d.ts 2014-08-14 09:01:38 -07:00
Sheetal Nandi 83ea28cf39 Declaration comments for the variable declaration in .d.ts 2014-08-14 08:57:28 -07:00
Sheetal Nandi 77a336689f Declaration comments for the property declaration in .d.ts 2014-08-14 08:53:02 -07:00
Sheetal Nandi 5f8f184f9a Declaration comments for the interface declaration in .d.ts 2014-08-14 08:50:17 -07:00
Sheetal Nandi 84dc3ff419 Declaration comments for the class declaration in .d.ts 2014-08-14 08:47:21 -07:00
Sheetal Nandi ca1eb9fa8d Fix the compiler runner to handle comments flag to determine if it is --removeComments 2014-08-14 08:43:45 -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 93790c5709 Declaration comments for the enum member declaration in .d.ts 2014-08-14 08:02:03 -07:00
Sheetal Nandi bf2f795807 Declaration comments for the enum declaration in .d.ts 2014-08-14 07:59:41 -07:00
Sheetal Nandi 95a473c6e6 Declaration comments for the module declaration in .d.ts 2014-08-14 07:56:46 -07:00
Sheetal Nandi 5accc9962a Write JsDoc comments for ImportDeclaration in .d.ts file 2014-08-14 07:48:14 -07:00
Sheetal Nandi ea238c47e8 Comments for import declaration 2014-08-14 06:57:59 -07:00
Sheetal Nandi c9d16b002d Comments for module declaration 2014-08-14 06:53:37 -07:00
Sheetal Nandi 84fa5b421a Emit commens for enum and enum members 2014-08-14 06:48:40 -07:00
Sheetal Nandi 6d6f27cdce Emit comments for class and constructor 2014-08-14 06:42:18 -07:00
Sheetal Nandi 72cff32c96 Emit comments for properties 2014-08-14 06:31:00 -07:00
Sheetal Nandi 86c2f2c444 Emit comments for function and method declarations 2014-08-14 06:21:30 -07:00
Sheetal Nandi c9b7c63b63 Emit comments for accessors 2014-08-14 06:12:14 -07:00
Sheetal Nandi d815c14943 Emit the property assignment comments of the object literal 2014-08-14 05:57:24 -07:00
Sheetal Nandi 871507e386 Emit leading and trailing comments for parameter 2014-08-14 05:47:38 -07:00
Sheetal Nandi 3e95358486 Emit comments in the javascript code if --removecomments is not specified 2014-08-14 05:41:04 -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
Sheetal Nandi e26d9e57d4 Remove unnecessary sort call in alias declarations that get written 2014-08-13 18:01:58 -07:00
Vladimir Matveev 8475a33bc6 added comment to fullTypeCheck parameter 2014-08-13 16:22:56 -07:00
Cyrus Najmabadi 088e58644a Merge branch 'master' into newCompilerLS
Conflicts:
	src/services/services.ts
2014-08-13 15:41:42 -07:00
Vladimir Matveev 72fc5dbf9b added fullTypeCheckFlag to TypeChecker 2014-08-13 15:12:51 -07:00
Anders Hejlsberg 92b367741b Adding error message for empty tuple types. 2014-08-13 11:13:24 -07:00
Anders Hejlsberg ef52312644 Addressing CR feedback. 2014-08-13 07:15:13 -07:00
Mohamed Hegazy 85b53c74d1 Merge branch 'master' into classifier 2014-08-12 21:43:38 -07:00
Mohamed Hegazy 2a106bf923 Merge pull request #427 from sparecycles/fix/reference-static-regex
fix: /// <reference path="..." static='true' />
2014-08-12 17:46:06 -07:00
Mohamed Hegazy bc61807d85 Merge pull request #443 from Microsoft/fourslash
Reenable Fourslash tests after they have been accidentlly disabled
2014-08-12 17:45:04 -07:00
Mohamed Hegazy d353fcdfb3 remove fullTypeCheck flag as it may lead to missing errors if we make any requests with fullTypeCheck=false and we cache any result 2014-08-12 17:34:30 -07:00
Cyrus Najmabadi 474cf0d575 Port over changes to the ScriptSnapshot API from the languageService-v2 branch. 2014-08-12 17:12:23 -07:00
Vladimir Matveev ccaf904cfa support outlining for arbitrary blocks 2014-08-12 15:47:57 -07:00
Vladimir Matveev 62abc82f7f Merge pull request #437 from Microsoft/flush_stdout
use writeSync instead of stdout.write to make sure that stream is flushed
2014-08-12 15:40:02 -07:00
Daniel Rosenwasser 978855678d Removed duplicate diagnostic. 2014-08-12 15:15:45 -07:00
Daniel Rosenwasser 90c173dd16 Merge branch 'master' into diagnosticsCleanup 2014-08-12 14:59:01 -07:00
Daniel Rosenwasser e6c42faa7c Addressed CR feedback, removed NoPrefix messages. 2014-08-12 14:56:27 -07:00
Mohamed Hegazy 911cb2b1fb Make sure fourslash tests are running 2014-08-12 13:34:07 -07:00
Mohamed Hegazy 0b41303df2 Ensure scriptsnapshot is set when creating a source file 2014-08-12 13:33:48 -07:00
Anders Hejlsberg d3621bf042 Merge pull request #436 from Microsoft/improvedArrayErrors
Rearranging members of Array<T> to improve error reporting.
2014-08-12 13:07:00 -07:00