Commit Graph
384 Commits
Author SHA1 Message Date
Mohamed Hegazy 3e4560147b Allow const in for statements 2014-10-14 17:37:46 -07:00
Mohamed Hegazy 82f5fb4055 Flag const declarations shodowed by var redeclarations 2014-10-14 17:15:11 -07:00
Mohamed Hegazy f5c2740093 Flag assignments to a const 2014-10-14 16:52:12 -07:00
Mohamed Hegazy cffc62aa1b Report duplicate identifier errors on all locations for merged declarations to align with local declarations 2014-10-14 15:18:44 -07:00
Mohamed Hegazy 318575ce75 Ensure duplicate let/const declarations accross files are reported 2014-10-14 14:51:28 -07:00
Mohamed Hegazy 1dde985f1d Do not allow use of block-scoped variable before its definition 2014-10-13 22:19:19 -07:00
Mohamed Hegazy cf89f5cf58 Add binder support for block scoped variable declarations 2014-10-13 20:54:26 -07:00
Mohamed Hegazy 6f6f4afeb1 Fix line endings 2014-10-12 21:44:29 -07:00
Mohamed Hegazy 979d45eb67 Disallow let and const declarations outside blocks 2014-10-12 21:43:09 -07:00
Mohamed Hegazy 778f101dea Add basic parsing support for let and const 2014-10-12 21:10:04 -07:00
Mohamed Hegazy 873c1df74b Add es6 target 2014-10-11 12:52:42 -07:00
Mohamed Hegazy bdac6ca895 Merge pull request #841 from chrisbubernak/disallowNumericEnumMembers
Fix for issue #134 (Disallow numeric enum members)
2014-10-10 16:24:12 -07:00
Cyrus Najmabadi d003561464 Fix newlines in tests 2014-10-10 14:23:12 -07:00
Yui T 00c30a3ed7 Merge branch 'master' into fixThrowExceptionOnEmitFile 2014-10-09 14:36:48 -07:00
Yui T 6cb7ffb725 Add baseline 2014-10-09 10:34:22 -07:00
ChrisBubernak 2b4f48996e Moved the error check from parser to checker & updated baselines 2014-10-09 08:52:53 -07:00
ChrisBubernak 3d6dc58f85 Merge branch 'disallowNumericEnumMembers' of https://github.com/chrisbubernak/TypeScript into disallowNumericEnumMembers 2014-10-09 08:09:11 -07:00
Sheetal Nandi 58cfc985b9 Merge branch 'master' into symbolInfoFormatting 2014-10-08 18:25:42 -07:00
Yui T 67eff65e03 Add more test cases 2014-10-08 18:15:07 -07:00
Chris Bubernak 16f91b1ef3 fixed error message and updated necessary baselines 2014-10-08 17:23:16 -07:00
Yui T 40f6b6719f Add baseline 2014-10-08 15:05:58 -07:00
Sheetal Nandi 966e697f2a Compiler test case for usage of contextual rest parameter 2014-10-08 12:31:03 -07:00
ChrisBubernak 15c5c77704 Fixing tests and baselines 2014-10-08 11:11:36 -07:00
Yui T 530a5c0650 Merge branch 'master' into getEmitOutputExternalModule 2014-10-07 13:21:19 -07:00
Chris Bubernak 8286b67c09 Fixed another bug in parser & fixed up baselines 2014-10-06 22:27:22 -07:00
Yui T 747ae1b1f5 Add fourslash tests to cover external module case 2014-10-06 18:37:01 -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
Yui T 0ef3cd1b22 Merge branch 'master' into tupleConformance 2014-10-06 10:39:12 -07:00
Mohamed Hegazy 432fff1362 Merge pull request #823 from chrisbubernak/betterErrorsForBitwiseOperatorsOnBooleans
Fix for issue #712
2014-10-05 09:51:11 -07:00
Chris Bubernak 6044e3aea3 Made fixes based on CR feedback 2014-10-04 10:10:55 -07:00
Chris Bubernak e6b5591ae9 Updated baselines 2014-10-03 18:50:48 -07:00
Daniel Rosenwasser c1d15c792b Merge branch 'master' into navbar
Also fixed getSourceText and renamed it to getTextOfNode
2014-10-03 17:44:52 -07:00
Yui T 52f8ae3eec Tuple conformance 2014-10-03 17:37:29 -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
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
Yui T 5926a03363 Merge branch 'master' into flagAllDuplication 2014-10-01 14:27:41 -07:00
Mohamed Hegazy a37106d4da Merge pull request #748 from chrisbubernak/selfReferencingFileError
Fix issue #568 (no error for file self reference)
2014-10-01 13:44:47 -07:00
Yui T 296e8e01b3 Update Baselines 2014-10-01 11:27:20 -07:00
Yui T c2d86711e8 Update baselines 2014-09-30 18:09:55 -07:00
Sheetal Nandi 0dbd303084 Fix the quick info on error types 2014-09-30 17:14:58 -07:00
Jason Freeman ab3326f7b7 Fix arity checking for partial overload resolution 2014-09-30 17:13:47 -07:00
Daniel Rosenwasser 5851752e32 Merge branch 'master' into navbar
Conflicts:
	Jakefile
	src/services/getScriptLexicalStructureWalker.ts
	src/services/services.ts
2014-09-30 14:20:58 -07:00
ChrisBubernak 1b3da908de fixing baseline 2014-09-26 09:33:06 -07:00
ChrisBubernak 93db897778 Fixed some of the baselines, made file comparisons handle different
casing, put diagnostic message in correct order
2014-09-26 07:47:44 -07:00
ChrisBubernak e11ee0f6cf Fixed a few of the code review suggestions 2014-09-25 13:02:37 -07:00
ChrisBubernak ae17c35728 Added error checking for references that reference the same file along
with 3 tests,
2014-09-25 09:12:31 -07:00
Vladimir Matveev dae98be062 Merge pull request #737 from Microsoft/instanceof_cascading_errors
do not report cascading errors in instanceof operator
2014-09-24 11:09:21 -07:00
Jason Freeman 7bd7d4605e Merge pull request #726 from Microsoft/sigHelp
Signature help in the new compiler
2014-09-24 10:58:50 -07:00