Commit graph

3185 commits

Author SHA1 Message Date
Vladimir Matveev 2dd9511b0a 'const enum' iteration 0. TODO: allow and track const enums in imports, add more tests 2014-10-27 23:56:07 -07:00
Vladimir Matveev ce336bcec7 added folding for references to enum members in enum member initializers, added tests 2014-10-26 16:40:02 -07:00
Vladimir Matveev 622b7613f7 merge with master 2014-10-24 15:44:12 -07:00
Mohamed Hegazy 51e101c55e Merge branch 'master' into letAndConst 2014-10-24 10:32:21 -07:00
Sheetal Nandi 4058518bdb Merge pull request #931 from Microsoft/newTreeBreakPoints
New tree break points
2014-10-23 15:30:45 -07:00
Mohamed Hegazy 9353c11382 Merge branch 'master' into letAndConst
Conflicts:
	src/compiler/types.ts
2014-10-23 15:01:07 -07:00
Daniel Rosenwasser 06e5f158ca Merge branch 'master' into syntacticClassificationOnNewTree 2014-10-22 15:57:03 -07:00
Sheetal Nandi 308670c9ce Implement getNameOrDottedNameSpan for new compiler 2014-10-20 23:34:43 -07:00
Sheetal Nandi 06d29a00f2 Breakpoint span in variable declarations in new language service
Also updates the fourslash breakpoints baseline to be more readable
2014-10-20 23:02:56 -07:00
Mohamed Hegazy dd7ca69866 Create a new flag for diagnostics 'isEarly' and disable emit if this flag is set. Set the flag by default on all let and const errors to ensure we are not emitting invalid JS code. 2014-10-20 17:38:50 -07:00
Yui T 7806094a1a Address code review 2014-10-20 13:47:09 -07:00
Mohamed Hegazy 0e7d8b62ef Merge branch 'master' into letAndConst 2014-10-20 13:34:06 -07:00
Mohamed Hegazy 4ef68b9fb0 Respond to code review comments 2014-10-17 10:09:21 -07:00
Mohamed Hegazy 3aedac4171 disable source map record validation in RWC runner 2014-10-16 12:35:14 -07:00
Mohamed Hegazy e15f4e6d34 Merge branch 'master' into letAndConst
Conflicts:
	src/compiler/types.ts
2014-10-16 09:30:58 -07:00
Daniel Rosenwasser d33aa4335f Switched syntactic classifier to use new tree.
Also added tests.
2014-10-15 15:01:38 -07:00
Sheetal Nandi 730ef1a6e5 Further refactoring the rwc tests 2014-10-15 13:02:40 -07:00
Sheetal Nandi 9399e1ea99 Add after block to the describe blocks of project runner and rwc runner 2014-10-15 10:56:43 -07:00
Sheetal Nandi 15e479fa95 Merge branch 'master' into rwcRunner 2014-10-15 10:36:36 -07:00
Vladimir Matveev b6b80817f4 initial revision of formatting 2014-10-14 14:44:38 -07:00
Daniel Rosenwasser 640554ae48 Added facilities for using positions on classification tests. 2014-10-13 17:29:19 -07:00
Sheetal Nandi 307e28a8a1 Enable infrastructure to test the symbol display parts returned by quickInfo 2014-10-13 17:22:49 -07:00
Mohamed Hegazy 873c1df74b Add es6 target 2014-10-11 12:52:42 -07:00
Sheetal Nandi 58cfc985b9 Merge branch 'master' into symbolInfoFormatting 2014-10-08 18:25:42 -07:00
Sheetal Nandi d4e58b2fd9 Code Review feedback 2014-10-07 16:50:53 -07:00
Sheetal Nandi c40f02a248 Merge pull request #817 from Microsoft/renameEnumMember
Fixes the name displayed in the rename dialog to be just symbol name instead of qualified path
2014-10-06 11:57:13 -07:00
Sheetal Nandi 2de4ad0335 Merge pull request #818 from Microsoft/sourceMapRelativeDirName
Fixes incorrect path resolution of sources to sourcemap when the directory paths differ in only case
2014-10-06 11:48:10 -07:00
Sheetal Nandi 4cf78744e3 Added test cases for --outDir option 2014-10-06 11:37:08 -07:00
Sheetal Nandi 468e9b62ba Renamed assertionMessage to messageAtLastKnownMarker in fourslash 2014-10-03 15:53:41 -07:00
Sheetal Nandi 61994a7e62 Show the type information in places where there is no symbol associated 2014-10-03 15:50:38 -07:00
Cyrus Najmabadi 1f045e1227 Adding rename tests. 2014-10-03 15:33:29 -07:00
Sheetal Nandi 710bac6d81 Fix the source map directory resolution with non case sensitive file names 2014-10-03 15:10:12 -07:00
Sheetal Nandi fe8f736207 Enable tests for the case sensitive and non case sensitive path resolution during soucemap path calculation 2014-10-03 15:07:18 -07:00
Cyrus Najmabadi 2a8b9ef21f Support rename in comments and strings. 2014-10-03 14:53:50 -07:00
Sheetal Nandi 71b77106a8 Add test case to verify the definition name and container name
Rename dialog will use this name and scope name returned
2014-10-03 14:51:22 -07:00
Daniel Rosenwasser ffef437320 Merge pull request #799 from Microsoft/stopBlindlyColoring
Values sharing names with interfaces no longer classified as interfaces
2014-10-01 17:42:15 -07:00
Daniel Rosenwasser a6e991a3db Fixed bug where value-space identifiers got classified as interfaces when sharing the same name as an interface. 2014-10-01 12:44:17 -07:00
Jason Freeman b2bca72bb6 Fix argumentCount and selectedItemIndex 2014-09-30 17:13:57 -07:00
Jason Freeman a89710471d Add test for empty arguments and arity filtering 2014-09-30 17:13:53 -07:00
Sheetal Nandi c0138d1fdc Enable signature help docComment testing 2014-09-30 17:10:12 -07:00
Sheetal Nandi df423369f1 Overload formatting in the symbol displaying 2014-09-30 17:10:08 -07:00
Sheetal Nandi 743046bf45 Use SymbolDisplayParts api 2014-09-30 17:08:52 -07:00
Sheetal Nandi d1a09da676 Get the JSDoc comments for the symbols
This also fixed type formatting for single function signatures in the types
2014-09-30 17:06:04 -07:00
Mohamed Hegazy e49ff08922 Merge pull request #763 from Microsoft/protectedCompletion
Protected completion
2014-09-30 13:32:46 -07:00
Mohamed Hegazy 4227e58b82 Show marker names in fourslash test failures 2014-09-26 14:37:42 -07:00
Cyrus Najmabadi 42f162ec83 Adjust sig help implementation to match the new simpler sig help API. 2014-09-26 11:10:46 -07:00
Ingvar Stepanyan fe5883ba01 Prevent non-TypeScript (HTML/JSON/...) files from being added to test suite. 2014-09-26 17:06:07 +03:00
Cyrus Najmabadi 236b70b40b Merge branch 'master' into classifiedSigHelp
Conflicts:
	src/services/services.ts
	src/services/signatureHelp.ts
2014-09-25 14:27:42 -07:00
Cyrus Najmabadi c87615aba9 Switch signature help over to using display parts. This allows for classified sig help on the editor side. 2014-09-24 23:44:13 -07:00
Mohamed Hegazy d07b845295 Merge branch 'master' into cleanup 2014-09-24 13:25:22 -07:00
Mohamed Hegazy 1fe4a52d7c Fix failure in tests. 2014-09-24 13:01:21 -07:00
Jason Freeman 22e989795d Merge branch 'master' into sigHelp
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
	src/services/services.ts
2014-09-24 10:47:41 -07:00
Jason Freeman 8f602804a3 Respond to PR comments 2014-09-23 15:34:42 -07:00
Daniel Rosenwasser 4c87375078 Merge branch 'master' into braceYourselves 2014-09-23 08:25:28 -07:00
Jason Freeman 927bab6565 Enable fourslash signature help tests 2014-09-22 15:03:40 -07:00
Mohamed Hegazy 95394220b4 Merge branch 'release-1.1'
Conflicts:
	Jakefile
	src/compiler/tsc.ts
2014-09-22 14:55:28 -07:00
Daniel Rosenwasser 8202150b58 Fixed fourslash bug for adjacent braces, courtesy of @mhegazy. 2014-09-22 11:12:40 -07:00
Mohamed Hegazy d7573d3e81 Remove unused third party tools 2014-09-18 11:49:40 -07:00
Cyrus Najmabadi 2eb14aa7ca Merge branch 'master' into getRenameInfo
Conflicts:
	src/services/services.ts
2014-09-17 15:36:26 -07:00
Cyrus Najmabadi 7320a189f1 Adding rename tests. 2014-09-17 15:19:20 -07:00
Jason Freeman b1f243d814 Merge branch 'release-1.1'
Conflicts:
	src/harness/harness.ts
	tests/baselines/reference/typeName1.errors.txt
2014-09-17 14:10:47 -07:00
Yui T 9ee63fa21d Merge branch 'master' into getEmitOutput
Conflicts:
	src/services/services.ts
2014-09-16 17:40:38 -07:00
Yui T e75a1e3694 Change getEmitOutputBaseline 2014-09-16 15:19:41 -07:00
Yui T 54dcf39674 Add getCurrentDirectory and getDefaultLibFilename into interface for host 2014-09-16 13:19:49 -07:00
CyrusNajmabadi f89804e074 Merge pull request #672 from Microsoft/getSyntacticClassifications
Add support for syntactic classification.
2014-09-15 18:56:25 -07:00
Cyrus Najmabadi ebb0beb203 Adding classification tests. 2014-09-15 17:23:38 -07:00
Daniel Rosenwasser 358733fda3 Merge branch 'master' into getOccurrencesLoopBreakContinue 2014-09-15 16:01:05 -07:00
Daniel Rosenwasser 9f7782d392 Added error 'prologue' to each error baseline. 2014-09-12 13:35:07 -07:00
Yui T 0b06ddcc9a Fix getEmitOutput to only output one file except when 'out' flag is specified. Add testcases 2014-09-12 12:57:00 -07:00
Daniel Rosenwasser ee86f8b711 Harness now prints category and code when running tests. 2014-09-11 16:11:08 -07:00
Sheetal Nandi 813f0e75e2 Build the declaration files generated in the rwc run to make sure there arent any errors 2014-09-11 14:32:35 -07:00
Daniel Rosenwasser dae34875b4 Minor CR feedback addressed. 2014-09-10 18:59:12 -07:00
Yui T 7b0662be9e Remove getDirectory from LanguageServiceShimHost 2014-09-10 15:58:16 -07:00
Yui T 9bbbdec0c2 Check for repeating meta-data flag. 2014-09-10 09:57:42 -07:00
Yui T 609d1bc92c Chage test framework from manual comparing the result to using baseline;
Add compilerOptions into fourslash
2014-09-10 09:57:38 -07:00
Yui T 6cba535f20 Fix spelling 2014-09-10 09:57:36 -07:00
Yui T 2a24ea5854 Fix spelling 2014-09-10 09:57:30 -07:00
Yui T be4133a162 Add meta-data flag name to modify compilationSettings 2014-09-10 09:57:28 -07:00
Yui T 6ef41a74c7 Move checking semantic diagnostics into emitFiles function rather than
getEmitOutput
2014-09-10 09:57:26 -07:00
Yui T 537f55cede Change getCurrentDirectory and getDefaultLibname from passing around
function to its final value
2014-09-10 09:57:24 -07:00
Yui T 623b97f2ec Add check if the compilationSetting object hasOwnProperty before add the property to TypeScriptLS object 2014-09-10 09:57:20 -07:00
Yui T b0654dc044 Remove enableSingleOutputFile boolean and use singleOutputFilename to check if singleOutputFile is specified 2014-09-10 09:57:18 -07:00
Yui T 8e37730d85 Update fourslash for getEmitOutput 2014-09-10 09:54:36 -07:00
Anders Hejlsberg aa58dcbee0 Adding noErrorTruncation compiler option 2014-09-09 12:25:03 -07:00
Anders Hejlsberg 9f3d83adeb Truncate long types in error messages 2014-09-08 16:14:43 -07:00
Cyrus Najmabadi aeb428e9e5 Fix incremental parsing bug due to non invalidating cached data in nodes. 2014-09-05 17:59:52 -07:00
Ryan Cavanaugh b8b522784c Address CR feedback 2014-09-04 10:44:36 -07:00
Ryan Cavanaugh 0aba039a0d Speed up RWC IO playback by removing unfound files from resolution candidates 2014-09-04 09:18:29 -07:00
Ryan Cavanaugh f2546c1392 Correctly handle zero-length test inputs 2014-09-04 09:09:22 -07:00
Ryan Cavanaugh f328c7c6f8 Handle missing files more gracefully; big perf gains in loggedIO 2014-09-02 17:16:25 -07:00
Ryan Cavanaugh 1249e9d06c Add timestamp to capture files for better tracking 2014-09-02 15:40:15 -07:00
Ryan Cavanaugh 18de560402 Add jake task for making instrumented tsc 2014-09-02 12:19:58 -07:00
Mohamed Hegazy dc0560ae59 Merge branch 'master' into getReferences
Conflicts:
	tests/baselines/reference/aliasUsageInGenericFunction.types
	tests/baselines/reference/aliasUsageInObjectLiteral.types
	tests/baselines/reference/aliasUsageInOrExpression.types
	tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.types
2014-08-29 15:56:36 -07:00
Mohamed Hegazy ee0c0f6cea Merge branch 'master' into restrictUseOfSys 2014-08-29 14:46:17 -07:00
Mohamed Hegazy 49d8157d28 ensure that sys is not used outside tsc.ts 2014-08-28 23:10:05 -07:00
Jason Freeman 44c2453ec6 Don't use UseTypeOfFunction in typeWriter 2014-08-28 12:52:44 -07:00
Jason Freeman 46825ab05d Print Array as T[] 2014-08-28 12:48:30 -07:00
Jason Freeman 6a7d912fe4 Print pure namespaces as unknown 2014-08-28 12:40:58 -07:00
Jason Freeman 4e1bb26ad1 Print type of super 2014-08-28 12:31:37 -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 aef859f442 Merge branch 'master' into getReferences
Conflicts:
	src/services/services.ts
2014-08-25 16:51:35 -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 8fcc8b26ba Ensure range for string literal references are within the quotes to ensure rename is successful 2014-08-22 22:07:45 -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 92e3202604 Fix the compilerRunner when compiling resulting d.ts file when --out is specified 2014-08-21 17:13:27 -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
Sheetal Nandi 2ac377cc76 Fixed the file map lookup to use hasOwnProperty 2014-08-21 13:03:08 -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 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
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
Sheetal Nandi b53e989f88 Emit declarations and sourcemaps in rwc test runner 2014-08-19 20:21:59 -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 f949c5014a Merge branch 'master' into typeWriter
Conflicts:
	src/compiler/types.ts
2014-08-18 19:57:35 -07:00
Jason Freeman a08aa14a74 Address PR feedback 2014-08-18 18:51:18 -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
Mohamed Hegazy f84d2af9e7 disable resolution for now 2014-08-18 12:40:41 -07:00
Cyrus Najmabadi 323ecebf81 Add todo comment tests. 2014-08-15 14:47:10 -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 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
Vladimir Matveev a271b94b9d merge with mastr 2014-08-15 12:06:53 -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 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 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
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
Mohamed Hegazy 85b53c74d1 Merge branch 'master' into classifier 2014-08-12 21:43:38 -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
Mohamed Hegazy 911cb2b1fb Make sure fourslash tests are running 2014-08-12 13:34:07 -07:00
Vladimir Matveev 551a532f5d Merge pull request #430 from Microsoft/outlining
enable outlining atop of new compiler
2014-08-12 11:59:14 -07:00
Mohamed Hegazy 349367d991 Consolidate logic to use the lib in one location in the tests 2014-08-11 15:35:15 -07:00
Vladimir Matveev 5e0221eeac switch to using OutliningSpan instead of TextSpan to better support language service 2014-08-11 15:08:40 -07:00
Mohamed Hegazy d028c06034 remove unused folders from unitest runner 2014-08-07 23:45:33 -07:00
Mohamed Hegazy 3fcd33ec32 Enable clorizer unit tests 2014-08-07 23:45:03 -07:00
Mohamed Hegazy e515ca9697 remove unused property 2014-08-07 23:44:53 -07:00
Sheetal Nandi 54f5f15796 Update the project runner to emit errors in more readable way 2014-08-07 17:49:47 -07:00
Sheetal Nandi 2264322380 Enable project runner to compile generated .d.ts files
Uncovered bug in quoted .d.ts compilation
2014-08-07 17:26:29 -07:00
Sheetal Nandi 5657c28b8b Fix the incorrect declaration file path during d.ts file compile in the compilerrunner 2014-08-07 14:59:00 -07:00
Dick van den Brink e0f738429f Added missing semicolons 2014-08-07 21:08:38 +02:00
Mohamed Hegazy 9222711ace change name of the flag to emitBOM 2014-08-06 14:24:47 -07:00
Sheetal Nandi 0b227d5196 Test baselines because of change 2014-08-06 13:12:34 -07:00
Mohamed Hegazy f125ee20bb Merge branch 'master' into bom
Conflicts:
	src/compiler/commandLineParser.ts
	src/compiler/emitter.ts
2014-08-06 12:55:57 -07:00
Mohamed Hegazy a4a773a352 make the BOM visible in the test output 2014-08-06 12:36:39 -07:00
Mohamed Hegazy 35c1577ff5 Add tests for generateBOM switch 2014-08-06 12:05:01 -07:00
Sheetal Nandi 5c4009a163 Merge pull request #161 from Microsoft/privacyErrors
Report errors for usage of private types when generating declaration file
2014-08-06 11:51:55 -07:00
Mohamed Hegazy b1335e1795 add generateBOM switch 2014-08-06 11:37:59 -07:00
Mohamed Hegazy 63b835a7a9 Remove ByteOrderMark 2014-08-06 11:13:49 -07:00
Mohamed Hegazy aa75de9c70 Consolidate Document and SoruceFile 2014-08-04 12:00:37 -07:00
Ryan Cavanaugh b4a450026b Use compiler directly in fourslash runner so we can avoid repeated compile overhead 2014-08-01 14:36:20 -07:00
Mohamed Hegazy 648af3801a react to changes after rebase 2014-07-29 12:35:26 -07:00
Mohamed Hegazy a6e87cd9ec enable fourslash tests by default 2014-07-29 12:18:02 -07:00
Mohamed Hegazy 0a08a42abe enbale fourslash tests 2014-07-29 12:17:33 -07:00
Mohamed Hegazy 17f7ed5cbe delete unused file 2014-07-29 12:17:13 -07:00
Mohamed Hegazy 9061e58dff Change services output file name to typescriptservices.js 2014-07-29 12:16:32 -07:00
Mohamed Hegazy eb9fa722ec Add missing getNewLine method to test implementations of CompilerHost 2014-07-29 12:16:22 -07:00
Dan Quirk d91c59bd29 Fix minor formatting issues 2014-07-24 16:04:37 -07:00
Dan Quirk 5d85421262 More cleanup 2014-07-23 17:14:17 -07:00
Dan Quirk ef2ffc6d78 Cleanup 2014-07-23 17:10:38 -07:00
Dan Quirk 3ad77c6ea0 Be less clever, just use \r\n for newlines by default, tests can opt into different newlines, fix one more file casing test 2014-07-23 03:27:56 -07:00
Dan Quirk ec9d25f980 Trying to fix newlines in sourcemap baselines for *nix 2014-07-23 15:51:03 -07:00
Jason Freeman 837a8935c7 Remove error about missing module flag from checker 2014-07-21 09:40:38 -07:00
Sheetal Nandi 09ec1bb9ae Report error on Class/Interface heritage clause if it cant be accessed
Fixes #78 and #83
2014-07-18 18:07:38 -07:00
Sheetal Nandi e0ce0e97d5 Updating with code review feedback 2014-07-18 12:32:27 -07:00
Sheetal Nandi 2c7946ee00 Pulled out the d.ts compilation into separate it block 2014-07-17 22:43:59 -07:00
Sheetal Nandi d09e5508e2 Report global errors and re-enable assert for the number of errors reported 2014-07-17 18:16:40 -07:00
Sheetal Nandi 8936662090 Enable compiler runner to report the errors from compiling generated declaration files 2014-07-17 18:16:32 -07:00
Anders Hejlsberg f3f5993770 Incorporating code review feedback. 2014-07-16 11:46:25 -07:00
Anders Hejlsberg c1d0fd979d More I/O fixes
Support for --charset command line option
File read and write errors are propagated into compiler diagnostics
emitFiles returns diagnostics in EmitResult
2014-07-16 10:57:05 -07:00
Vladimir Matveev e9cd8a0e88 add prefixes for getCanonicalName 2014-07-14 14:44:56 -07:00
Anders Hejlsberg bbd14c005d Fix for I/O performance problems
sys.readFile checks whether file exists before reading instead of relying on exceptions
sys.writeFile returns a boolean result and doesn't use exceptions to communicate errors
Disabled code to create directories until performance has been verified
2014-07-14 10:45:24 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00