Commit Graph

23471 Commits

Author SHA1 Message Date
Mohamed Hegazy 0629bba5bf allow non ts files to be passed in to the compiler 2014-11-17 10:59:55 -08:00
Mohamed Hegazy 1986fb1a57 Respond to code review comments 2014-11-17 10:59:03 -08:00
Yui T b3078f265e Add a test for quick-info 2014-11-17 10:56:59 -08:00
Anders Hejlsberg 9a1b031469 Accepting new baselines. 2014-11-17 10:46:02 -08:00
Anders Hejlsberg 100e1c8a77 Improve caching in recursive type comparisons (fixes #1170) 2014-11-17 10:42:53 -08:00
Mohamed Hegazy d5cfceba3e Merge pull request #966 from DickvdBrink/warnaserror
implemented treat warning as errors commandline option.
2014-11-16 17:42:34 -08:00
Dick van den Brink c90fb4a7d3 Update baseline 2014-11-16 22:05:07 +01: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
Vladimir Matveev 9a5df8585b scan starting from the beginning of target span 2014-11-14 22:34:36 -08:00
Mohamed Hegazy 2897612eee Add Promise typing support 2014-11-14 17:43:20 -08:00
Daniel Rosenwasser 6f8f79efe2 Got sig help working in tagged no-sub templates. 2014-11-14 17:30:19 -08:00
CyrusNajmabadi 20599e6fe8 Merge pull request #1169 from Microsoft/functionConstructorNodes
Function and constructor types in the syntax tree.
2014-11-14 17:28:33 -08:00
Cyrus Najmabadi ffa48152eb update comment. 2014-11-14 17:15:25 -08:00
Daniel Rosenwasser 64960cf873 Got sig help working in the template head. 2014-11-14 17:13:00 -08:00
Cyrus Najmabadi 7fc05f5017 CR feedback. 2014-11-14 17:13:00 -08:00
Cyrus Najmabadi 96613737c2 Type checker symbols must be transient. 2014-11-14 16:49:50 -08:00
Cyrus Najmabadi 9a50f41af8 More CR feedback. 2014-11-14 16:43:07 -08:00
Cyrus Najmabadi ba2e4bff10 cr feedback. 2014-11-14 16:40:11 -08:00
Cyrus Najmabadi 3c9eea2df0 Update comment. 2014-11-14 16:32:07 -08:00
Yui T 880e958d11 Fix comment 2014-11-14 16:30:03 -08:00
Vladimir Matveev 647ff4b06a Merge pull request #1167 from Microsoft/formatting_templates
formatting: handle templates spans
2014-11-14 16:24:12 -08:00
Cyrus Najmabadi d948510425 Function and constructor types in the syntax tree. 2014-11-14 16:23:51 -08:00
Vladimir Matveev d9829f4635 added more tests 2014-11-14 16:23:47 -08:00
Yui T 03e0722927 Add test cases and rename test files 2014-11-14 15:44:06 -08:00
Anders Hejlsberg bdfb5697af Merge pull request #1163 from Microsoft/typeGuards
Fixes to type guards
2014-11-14 15:36:07 -08:00
Vladimir Matveev 4609d242cf formatting: handle templates spans 2014-11-14 14:36:52 -08:00
Anders Hejlsberg df544a687c Addressing CR feedback 2014-11-14 13:36:09 -08:00
Daniel Rosenwasser 4bf023982c Merge branch 'master' into taggedSigHelp 2014-11-14 13:09:09 -08:00
Daniel Rosenwasser aec8d9621c Merge pull request #1160 from Microsoft/weDontNeedNoTemplateStringsArrayPreEs6
Default to 'unknown' for the template strings array type in pre-ES6 targets.
2014-11-14 13:07:41 -08:00
Vladimir Matveev c8412c67fe Merge pull request #1109 from Microsoft/formatting_scanner
Formatting implementation using new tree
2014-11-14 11:02:37 -08:00
Vladimir Matveev 23e35bcfc1 Merge branch 'master' into formatting_scanner 2014-11-14 11:01:17 -08:00
Vladimir Matveev 9e9f94abbb code cleanup: added comments 2014-11-14 11:00:28 -08:00
Anders Hejlsberg 91b97009f0 Modifying tests and accepting new baselines 2014-11-14 10:42:31 -08:00
Mohamed Hegazy 7d6f7ea8e9 Fix symbol constructor and update Object properties 2014-11-14 10:14:00 -08:00
Anders Hejlsberg 008e36b6ea Merge branch 'master' into typeGuards 2014-11-14 07:06:33 -08:00
Yui T 8bd7aae869 Add comment and clean up implementation on findAllReferences 2014-11-13 17:50:34 -08:00
CyrusNajmabadi bc40997aed Merge pull request #1129 from Microsoft/yieldExpressions
Parsing support (including incremental parsing) for 'yield' expressions.
2014-11-13 16:44:29 -08:00
Daniel Rosenwasser 5646743559 Added tests for defining TemplateStringsArray in certain contexts. 2014-11-13 15:17:53 -08:00
Daniel Rosenwasser a7774f2868 Fixed issue in harness where lib.d.ts errors are note counted. 2014-11-13 15:15:10 -08:00
Anders Hejlsberg 27d7cabad3 Fixes to type guards 2014-11-13 13:43:12 -08:00
Yui T a8ebdf0cbd Address code review 2014-11-13 12:02:13 -08:00
Yui T 1888f736e1 Fix emit for shotr-hand assignment for module 2014-11-13 11:33:31 -08:00
Gabriel Isenberg 843d3ec7ca Added a compiler test for named AMD modules. 2014-11-13 11:00:06 -08:00
Daniel Rosenwasser c111086552 Added a few tests. 2014-11-12 22:25:31 -08:00
Daniel Rosenwasser 56b4978040 Account for variable statements, as they are not declarations. 2014-11-12 22:23:59 -08:00
Daniel Rosenwasser 89983588c5 Look through constructor parameters if acc. modifier. 2014-11-12 22:17:57 -08:00
Daniel Rosenwasser fc720be82e Added 'Constructor' to 'isDeclaration' predicate. 2014-11-12 22:00:59 -08:00
Daniel Rosenwasser 3137ccb647 Merge branch 'master' into getOccsForModifiers 2014-11-12 21:27:07 -08:00
Cyrus Najmabadi f7890d4ddb When entering a type context, 'yield' should be allowed (as long as you're not in strict mode). 2014-11-12 19:09:09 -08:00
Sheetal Nandi 0877a650c3 Code review feedback 2014-11-12 18:42:31 -08:00