Commit graph

3038 commits

Author SHA1 Message Date
Cyrus Najmabadi
115a2d33b7 Update timeout to 6 seconds. 2014-12-14 23:23:18 -08:00
Cyrus Najmabadi
1bfe500897 Formatting. 2014-12-14 23:22:19 -08:00
Cyrus Najmabadi
0ec9f0d3bb Check tree invariants during fourslash tests. 2014-12-14 22:43:26 -08:00
Cyrus Najmabadi
2bb0eb604b Ensure the 'hasParseErrors' bit is the same between trees. 2014-12-14 12:04:18 -08:00
Cyrus Najmabadi
0e01e48d0e Always run all fourslash tests in high fidelity typing mode.
We want to verify after every edit that our incremental data is correct.
2014-12-14 11:34:15 -08:00
Cyrus Najmabadi
6d9bfda3e5 Check post edit invariants after every edit. 2014-12-14 11:20:50 -08:00
Cyrus Najmabadi
bd4aed25da Don't convert the tree to JSON before checking it. Just check it directly. 2014-12-14 11:16:50 -08:00
Cyrus Najmabadi
f5d622f0c9 Move test helpers into the harness Utils module. 2014-12-14 10:57:34 -08:00
CyrusNajmabadi
fbfb94f776 Merge pull request #1470 from Microsoft/flagAggregation
Make utility method names clearer.
2014-12-12 15:50:03 -08:00
Cyrus Najmabadi
ea3e509154 Make utility mehtod names clearer. 2014-12-12 15:29:52 -08:00
CyrusNajmabadi
7d2009ab64 Merge pull request #1469 from Microsoft/262baselines
Simplify 262 baselines.
2014-12-12 14:46:28 -08:00
CyrusNajmabadi
102cb2f406 Merge pull request #1468 from Microsoft/LKG
Update LKG.
2014-12-12 14:34:24 -08:00
Cyrus Najmabadi
9f59cf6e19 Simplify 262 baselines. 2014-12-12 14:26:31 -08:00
Cyrus Najmabadi
cf8afc3124 Update LKG. 2014-12-12 14:16:35 -08:00
CyrusNajmabadi
dacbd982cf Merge pull request #1467 from Microsoft/postEditInvariants
Resurrect the post edit invariants checking for fourslash.
2014-12-12 13:52:19 -08:00
CyrusNajmabadi
126aaf949d Merge pull request #1465 from Microsoft/labeledStatement
Avoid lookahead when parsing a statement.
2014-12-12 13:45:06 -08:00
Cyrus Najmabadi
183c80a81a Merge branch 'master' into postEditInvariants
Conflicts:
	src/harness/test262Runner.ts
2014-12-12 13:42:39 -08:00
Cyrus Najmabadi
26badc686f Avoid lookahead when parsing a statement.
If a statement started with an identifier, then we'd normally lookahead to see if the next token
was a colon.  Lookahead is expensive (as it has to rescan tokens).  Instead, we do the same thing
we do for arrow-functions.  We just parse out the identifier, and afterwards we check if there is
a colon as the current token.  Now, no lookahead is required.
2014-12-12 13:32:54 -08:00
Cyrus Najmabadi
f6aaa84146 In Fourslash: Compare ASTs for files produced incrementally versus files produced with a full parse. 2014-12-12 13:26:43 -08:00
Cyrus Najmabadi
0aa3f6e607 Rename some locals. 2014-12-12 13:09:50 -08:00
Cyrus Najmabadi
6ff58e3028 Don't emit error flags in the 262 baselines unless the node actually had an error.
This helps reduce clutter.
2014-12-12 12:41:59 -08:00
Cyrus Najmabadi
f8dd19ed1c Resurrect the post edit invariants checking for fourslash. 2014-12-12 12:01:27 -08:00
CyrusNajmabadi
7b528ddd2b Merge pull request #1464 from Microsoft/void0
Properly emit 'void 0' when emitting destructuring assignments.
2014-12-12 11:36:47 -08:00
Cyrus Najmabadi
83f0c91999 Properly emit 'void 0' when emitting destructuring assignments. 2014-12-12 11:28:05 -08:00
Mohamed Hegazy
90a9b3472a Merge pull request #1460 from Arnavion/compilefile-fail-task-on-error
Actually fail the surrounding jake task on errors in compileFile()
2014-12-12 09:02:09 -08:00
Arnavion
f6fd263cbd Actually fail the surrounding jake task on errors in compileFile() 2014-12-12 08:49:21 -08:00
Daniel Rosenwasser
001e29cd75 Merge pull request #1461 from Microsoft/fixProcessDiagMessagesProbWith1.4Merge
Fix processDiagnosticMessages script issue in master with a 1.4 merge
2014-12-12 00:31:16 -08:00
Daniel Rosenwasser
854586e824 Merge branch 'release-1.4' into fixProcessDiagMessagesProbWith1.4Merge
Conflicts:
	tests/baselines/reference/APISample_node_compile.js
	tests/baselines/reference/APISample_node_compile.types
	tests/baselines/reference/APISample_standalone_compile.js
	tests/baselines/reference/APISample_standalone_compile.types
	tests/cases/compiler/APISample_node_compile.ts
	tests/cases/compiler/APISample_standalone_compile.ts
2014-12-12 00:09:23 -08:00
Daniel Rosenwasser
87b7ddd51b Merge pull request #1453 from Microsoft/fixSysDependencyForDiagnostics
Fix sys dependency for processDiagnosticMessages.ts
2014-12-12 00:03:43 -08:00
Daniel Rosenwasser
c5943de3cd Just temporarily removing the tests until we can get back into a good state. 2014-12-11 23:54:33 -08:00
Vladimir Matveev
c189011d39 remove trailing comma 2014-12-11 18:08:12 -08:00
CyrusNajmabadi
122d8a4d98 Merge pull request #1456 from Microsoft/mergeMarkers
Make the compiler resilient to encountering merge conflict markers in a source code file.
2014-12-11 18:04:25 -08:00
CyrusNajmabadi
353dd9f988 Merge pull request #1458 from Microsoft/test262ErrorBit
For 262 tests, emit a bit in the baseline stating if the node had an error or not.
2014-12-11 18:03:31 -08:00
Vladimir Matveev
9083fdf94d Merge pull request #1457 from Microsoft/extra_comma
remove trailing comma at the end of optionDeclarations array
2014-12-11 17:54:53 -08:00
Cyrus Najmabadi
11dd1ca00f For 262 tests, emit a bit in the baseline stating if the node had an error or not. 2014-12-11 17:53:24 -08:00
Vladimir Matveev
53bdd562c8 remove trailing comma 2014-12-11 17:47:29 -08:00
Cyrus Najmabadi
c8a2d5de1a CR feedback. 2014-12-11 17:35:02 -08:00
Jason Freeman
7f097140c9 Merge branch 'release-1.4' 2014-12-11 17:29:03 -08:00
Jason Freeman
b2b17d5ae9 Merge pull request #1455 from Microsoft/disableComputedProperty
Disable computed properties in TypeScript 1.4
2014-12-11 17:27:07 -08:00
Jason Freeman
e502a866df Merge branch 'release-1.4' into disableComputedProperty 2014-12-11 17:22:54 -08:00
Jason Freeman
06d7ef14cf Don't quote the word 'generators' in error messages 2014-12-11 17:22:22 -08:00
Mohamed Hegazy
b87839dfb1 respond to code review commments 2014-12-11 17:08:18 -08:00
Mohamed Hegazy
1049b7139d Respond to code review comments 2014-12-11 17:08:11 -08:00
Mohamed Hegazy
de73d50ee9 Remove compiletionSettings handeling from shims 2014-12-11 17:08:05 -08:00
Mohamed Hegazy
5f80804d3a Merge pull request #1431 from Microsoft/compilationSettingsCleanup
Remove compiletionSettings handeling from shims
2014-12-11 17:05:21 -08:00
Cyrus Najmabadi
402c57cf7e Adding classification test. 2014-12-11 17:04:21 -08:00
Cyrus Najmabadi
7df3a407c2 Make the compiler resilient to encountering merge conflict markers in a source code file. 2014-12-11 16:56:10 -08:00
Jason Freeman
d385f2ebf4 Disable computed properties in TypeScript 1.4 2014-12-11 16:49:53 -08:00
Daniel Rosenwasser
47ed584d12 Re-add baselines. 2014-12-11 16:39:54 -08:00
Daniel Rosenwasser
cfca38f0af Remove baselines. 2014-12-11 16:39:32 -08:00