Commit Graph

274 Commits

Author SHA1 Message Date
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 c5943de3cd Just temporarily removing the tests until we can get back into a good state. 2014-12-11 23:54:33 -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
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
Daniel Rosenwasser d92d6379bd Merge branch 'release-1.4' into mergeFor1.4ToMaster
Conflicts:
	src/compiler/parser.ts
	src/compiler/utilities.ts
	src/harness/harness.ts
	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-11 14:49:43 -08:00
Daniel Rosenwasser 036209a89e Moved createCompilerHost into parser.ts
Conflicts:
	src/compiler/tsc.ts
2014-12-11 14:11:01 -08:00
Mohamed Hegazy b45ab580d5 Add tests for public declarations 2014-12-11 14:02:01 -08:00
Mohamed Hegazy 774c061779 Merge branch 'release-1.4' into suppressNoImplicitAnyErrors
Conflicts:
	src/compiler/parser.ts
	src/harness/harness.ts
2014-12-10 18:45:28 -08:00
Mohamed Hegazy 38bf383f03 Add tests for public declarations 2014-12-10 16:54:42 -08:00
Mohamed Hegazy b0574cbdf9 Respond to code review comments 2014-12-10 12:37:09 -08:00
Mohamed Hegazy 0a1eabc9aa Add new compiler flag to suppress noImplicitAny errors for object access 2014-12-09 14:08:44 -08:00
Mohamed Hegazy 80c5acc04e Add new method on interface Boolean to ensure it is not assignable from other types 2014-12-08 11:22:52 -08:00
Sheetal Nandi e29aadb4c4 "let" should only be considered a keyword in strict mode, or when it starts an actual construct
Handles #1301
2014-12-04 16:45:09 -08:00
Cyrus Najmabadi 4db419d93c more baselines. revert unintentional change to harness.ts. 2014-12-03 22:14:55 -08:00
Cyrus Najmabadi e6d1e39fb7 Add more coverage tests. 2014-12-03 21:07:50 -08:00
Cyrus Najmabadi 66c1b3df20 Add grammar walker test coverage cases. 2014-12-03 20:41:39 -08:00
Cyrus Najmabadi 5a7500ca5e Add a dedicated 'EndOfFile' token to a SourceFile.
This is important for incremental parsing, as it is where we can attach parse errors at the end of
the file to.  Also, it helps with things like emitting comments at the end of the file.
2014-12-02 16:09:41 -08:00
Cyrus Najmabadi a6a7e81de2 Add failing test. 2014-12-02 14:05:35 -08:00
Cyrus Najmabadi f8f314868b Merge branch 'master' into lessDirectCallsToError
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2014-12-01 17:42:59 -08:00
Mohamed Hegazy 4e79458e69 Merge branch 'master' into es6typings
Conflicts:
	tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.types
2014-12-01 16:51:10 -08:00
Mohamed Hegazy 0f6574e7e6 Add test for getters and setters 2014-12-01 13:20:56 -08:00
Mohamed Hegazy fde249d6a8 Handle TypeReference nodes 2014-11-30 23:54:21 -08:00
Mohamed Hegazy 0246daec83 Handel TypeLiterals, ParenTypes, UnionTypes, and ArrayTypes 2014-11-30 11:47:41 -08:00
Mohamed Hegazy 9ed27b23ab Handel assert for missing node kind in isDeclarationVisible for functionType and constructorType 2014-11-30 11:04:15 -08:00
Mohamed Hegazy 507ec3db3f Merge branch 'master' into es6Typings 2014-11-27 10:00:32 -08:00
Mohamed Hegazy d3e70ecfbf Merge branch 'master' into es6typings
Conflicts:
	src/compiler/parser.ts
	src/compiler/tsc.ts
	src/harness/harness.ts
	src/harness/projectsRunner.ts
	tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode.errors.txt
2014-11-27 09:59:46 -08:00
Daniel Rosenwasser c8bb487645 Merge branch 'master' into conformanceTests-624
Conflicts:
	tests/baselines/reference/parameterInitializersForwardReferencing.errors.txt
2014-11-25 14:18:17 -08:00
Vladimir Matveev 9781c05693 drop unused variables 2014-11-21 17:16:25 -08:00
Sheetal Nandi e101c2783c Merge branch 'release-1.3' 2014-11-20 20:32:36 -08:00
Sheetal Nandi f44d0c07d4 Merge branch 'master' into useTypeAnnotationInDeclarationsEmitter 2014-11-20 16:10:14 -08:00
Vladimir Matveev a6bb527278 merge 2014-11-19 19:59:07 -08:00
Cyrus Najmabadi 76f88392a4 Move missing argument checks to the grammar walker. 2014-11-19 17:57:35 -08:00
Cyrus Najmabadi 385fdd5eb2 Move export assignment checks to the grammar checker. 2014-11-19 16:10:27 -08:00
Cyrus Najmabadi cd75243d83 Move optional property checking to the grammar checker. 2014-11-19 15:00:45 -08:00
Vladimir Matveev dab9ebba3e Merge branch 'grammarChecks' of https://github.com/Microsoft/TypeScript into grammarChecks 2014-11-19 14:20:17 -08:00
Vladimir Matveev 4ba3bf5784 move break\continue checks out of parser 2014-11-19 14:19:59 -08:00
Cyrus Najmabadi 9ca17f9b29 Move with checks to the grammar checker. 2014-11-19 14:07:25 -08:00
Cyrus Najmabadi 8b832a5713 Move ambient statement checks to the grammar checker. 2014-11-19 13:26:15 -08:00
Cyrus Najmabadi de63023b1e Move type parameter checks to the grammar checker. 2014-11-19 00:11:59 -08:00
Cyrus Najmabadi 07f41dc786 Move variable statement checks to the grammar checker. 2014-11-18 23:34:26 -08:00
Cyrus Najmabadi 6900c8ff81 Move module grammar checks to the grammar checker. 2014-11-18 22:58:11 -08:00
Cyrus Najmabadi 5a7929aec7 Move variable grammar checks to the grammar checker. 2014-11-18 22:37:31 -08:00
Cyrus Najmabadi 78af519f5f Move enum checks to the grammar checker. 2014-11-18 22:18:21 -08:00
Cyrus Najmabadi 0e6aab7c42 Move object literal checks to the grammar checker. 2014-11-18 21:41:07 -08:00
Cyrus Najmabadi 34bb53f54c Use the entire indexer node for grammar error reporting. 2014-11-18 18:20:41 -08:00
Cyrus Najmabadi 08f0672b03 Move parameter grammar checks to the grammar pass. 2014-11-18 17:42:32 -08:00
Mohamed Hegazy 22e2bde7e9 Merge pull request #1158 from gisenberg/master
Adding support for named AMD modules.
2014-11-18 12:18:48 -08:00
Gabriel Isenberg b54143c326 Added an error condition for multiple AMD module name assignments. 2014-11-18 11:26:44 -08:00
Anders Hejlsberg 9f284184be Merge pull request #1180 from Microsoft/recursiveTypeComparison
Improve caching in recursive type comparisons (fixes #1170)
2014-11-17 13:11:42 -08:00
Mohamed Hegazy 19854a0386 Add TypedArray tests 2014-11-17 11:16:03 -08:00