Commit graph

102 commits

Author SHA1 Message Date
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