Commit Graph

242 Commits

Author SHA1 Message Date
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
Anders Hejlsberg
100e1c8a77 Improve caching in recursive type comparisons (fixes #1170) 2014-11-17 10:42:53 -08:00
Dick van den Brink
e7bb2e0ba7 Merge branch 'master' into warnaserror
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	src/harness/harness.ts
2014-11-16 22:02:00 +01:00
Daniel Rosenwasser
5646743559 Added tests for defining TemplateStringsArray in certain contexts. 2014-11-13 15:17:53 -08:00
Gabriel Isenberg
843d3ec7ca Added a compiler test for named AMD modules. 2014-11-13 11:00:06 -08:00
Sheetal Nandi
ce51343e73 Adding testcase for the incorrect eliding of the import declarations 2014-11-11 23:38:18 -08:00
Sheetal Nandi
4c28e73372 All the identifiers need to be escaped to make sure compiler doesnt confuse __NonUnderscore character incorrectly
Fixes #548
2014-11-11 15:44:25 -08:00
Sheetal Nandi
acff59f029 Test case for visibility error in the type literal 2014-11-10 18:47:51 -08:00
Sheetal Nandi
d6fb678222 Test cases for type alias declaration emit and privacy check.
Also removed the unnecessary error messages for type alias privacy check
2014-11-10 18:28:05 -08:00
Sheetal Nandi
5664b6fcf9 Test cases for type annotation visibility errors 2014-11-10 18:10:00 -08:00
Sheetal Nandi
c661ffa7ec Test cases for type literal annotation 2014-11-10 17:15:26 -08:00
Sheetal Nandi
9e41b0fed4 Test case for string literal overload type annotation 2014-11-10 17:09:34 -08:00
Sheetal Nandi
c2188a329d Test case for paren type annotation 2014-11-10 17:08:50 -08:00
Sheetal Nandi
68a07ed0a9 Test cases for union type annotation 2014-11-10 17:01:38 -08:00
Sheetal Nandi
5207bd9625 Type annotation of tuple type emit in the declaration file 2014-11-10 17:01:35 -08:00
Sheetal Nandi
737b72d73d Test cases for array type annotation 2014-11-10 17:01:31 -08:00
Sheetal Nandi
ab1558828a Test cases for type query 2014-11-10 17:01:28 -08:00
Sheetal Nandi
e11fa3fcc7 Tests for type reference annotation 2014-11-10 17:01:24 -08:00
Sheetal Nandi
cee6452e93 Tests for built in type name reference in type annotation 2014-11-10 17:01:21 -08:00
Daniel Rosenwasser
6d353c078c Merge branch 'master' into taggedTemplates 2014-11-07 16:24:40 -08:00
Daniel Rosenwasser
986a0b7343 Fixed issues with incomplete calls, cleaned some code up. 2014-11-07 16:23:59 -08:00
Sheetal Nandi
da314a3774 Merge pull request #1041 from Microsoft/declFilePrivateMethodOverload
Declaration file emit for private method overloads
2014-11-06 14:54:06 -08:00
vladima
95ec8c065f add test for const enum that is initialized with enum member defined above 2014-11-04 12:13:19 -08:00
Sheetal Nandi
3ce841466d Declaration file emit for private method overloads (#1018) 2014-11-03 12:50:32 -08:00
Vladimir Matveev
2d94030f58 inline enum constant values for indexed access when index is string literal 2014-11-01 18:16:48 -07:00
Vladimir Matveev
0b738e86c4 merge with master 2014-11-01 02:06:37 -07:00
Vladimir Matveev
8662c689b3 add test for 'preserveConstEnums' command line argument 2014-11-01 01:06:06 -07:00
Vladimir Matveev
7d80b7186d do not treat module that contains only const enums as instantiated 2014-11-01 00:56:00 -07:00
Anders Hejlsberg
bf3a62909b Addressing feedback and adding regression tests 2014-10-31 14:23:29 -07:00