Commit graph

7411 commits

Author SHA1 Message Date
Arthur Ozga 851d361a7d Move message after guide 2015-07-21 18:08:41 -07:00
Daniel Rosenwasser beff65191f Accepted baselines. 2015-07-21 17:47:53 -07:00
Daniel Rosenwasser 18e36b898c Add suggestion to error message. 2015-07-21 17:47:15 -07:00
Vladimir Matveev 32bec3b3e7 Merge pull request #3966 from Microsoft/importAliasesInSystem
hoist top level import equals declarations in System modules
2015-07-21 17:42:43 -07:00
Daniel Rosenwasser be44bc651c Accepted baselines. 2015-07-21 17:22:56 -07:00
Daniel Rosenwasser 8d5d73eb91 Take default export spaces into account when checking merged declarations. 2015-07-21 17:22:14 -07:00
Daniel Rosenwasser 7e464458f8 Accepted baselines. 2015-07-21 17:13:16 -07:00
Daniel Rosenwasser f631a20140 Added another test. 2015-07-21 17:12:50 -07:00
Vladimir Matveev 6398671a26 fix error code 2015-07-21 16:57:37 -07:00
Vladimir Matveev 9255d55154 better error message when using forward references in initializers of const enums 2015-07-21 16:51:08 -07:00
Wesley Wigham 8884f3b4f6 Fix tslint issues 2015-07-21 16:26:03 -07:00
Arthur Ozga d7e6fba4d3 fixed some warts 2015-07-21 16:20:17 -07:00
Wesley Wigham 8e93a49c7b Narrow exported session API, Unit tests for session API 2015-07-21 16:05:03 -07:00
Vladimir Matveev 4259417821 hoist top level import equals declarations in System modules 2015-07-21 15:56:30 -07:00
Arthur Ozga 6f00275b04 Merge pull request #3965 from Microsoft/abstractRunnerBase
make RunnerBase abstract
2015-07-21 15:48:57 -07:00
Arthur Ozga b244d0d263 fixed a reference in a test 2015-07-21 15:31:30 -07:00
Arthur Ozga 09caacd4cf Move declarations to top of tests\cases\fourslash.ts 2015-07-21 15:29:12 -07:00
Arthur Ozga 831bc389c2 make RunnerBase abstract 2015-07-21 14:59:39 -07:00
Ryan Cavanaugh 4ac078be0e Remove debugger statement 2015-07-21 12:32:24 -07:00
Ryan Cavanaugh d86fd85bd5 Correctly identify identifiers inside JSX exprs as expression identifiers 2015-07-21 11:35:05 -07:00
Anders Hejlsberg 4e85864b2d Merge pull request #3823 from Microsoft/strictObjectLiterals
Strict object literal assignment checking
2015-07-21 11:29:10 -07:00
Anders Hejlsberg 5f7bc51a10 Accepting new baselines 2015-07-21 11:20:29 -07:00
Anders Hejlsberg 57f1a99322 Adding comma in error message 2015-07-21 11:20:20 -07:00
Vladimir Matveev d057f56d8c Merge pull request #3945 from Microsoft/bulkReexportInSystem
System: use batching when doing star exports
2015-07-21 10:52:38 -07:00
Vladimir Matveev 45affe4122 Merge pull request #3944 from Microsoft/constEnumModules
treat modules that are merged with values as non-const-enum
2015-07-21 10:51:14 -07:00
Jason Freeman 4e0acc9fc1 Merge pull request #3586 from vvakame/addEsModule
improve  module loading interoperability for babel
2015-07-20 23:52:38 -07:00
Yui T 4167343630 Add tests and baselines 2015-07-20 23:30:43 -07:00
Yui T e960e0ddd2 Fix reporting an error on block-scope for module 2015-07-20 22:40:24 -07:00
Vladimir Matveev 22961e5240 System: use bulk exports 2015-07-20 22:40:22 -07:00
Vladimir Matveev 43347c79ec treat modules that are merged with values as non-const-enum 2015-07-20 21:49:15 -07:00
Ryan Cavanaugh ddd78fb609 Fix crash when the element instance type was undefined 2015-07-20 18:16:03 -07:00
Jason Freeman 2da47e813b Merge pull request #3919 from Microsoft/remove_resolveLocation
Remove resolveLocation from the checker
2015-07-20 17:44:26 -07:00
Jason Freeman fffe6c5fb5 Merge branch 'master' of https://github.com/Microsoft/TypeScript into remove_resolveLocation 2015-07-20 13:40:17 -07:00
Jason Freeman 05bc4fecb1 Address PR feedback 2015-07-20 13:40:03 -07:00
Daniel Rosenwasser 96b02a83ca Merge pull request #3879 from Microsoft/stringifySpaceParam
Make JSON.stringify's 'space' parameter have type 'string | number'.
2015-07-20 12:55:12 -07:00
Mohamed Hegazy 8f2f84f4b8 Merge pull request #3923 from kimamula/string_includes
Add includes method to String interface, and remove contains
2015-07-20 12:38:57 -07:00
pcan fa643b110c Fix for issue #3932. Moved the null-check in emitSerializedTypeNode 2015-07-20 21:27:28 +02:00
pcan 82933ef680 Fix for issue #3932, added null-check. 2015-07-20 20:58:35 +02:00
Anders Hejlsberg 967df39587 Accepting new baselines 2015-07-20 07:17:29 -07:00
Anders Hejlsberg 155ee4b905 Better error message 2015-07-20 07:16:53 -07:00
Anders Hejlsberg 2913cb023b Merge branch 'master' into strictObjectLiterals
Conflicts:
	tests/baselines/reference/typeGuardFunction.types
2015-07-19 11:45:25 -07:00
Anders Hejlsberg 592319d23e Accepting new baselines 2015-07-19 11:23:19 -07:00
Anders Hejlsberg 3cbc3db201 Fixing fourslash tests 2015-07-19 11:22:49 -07:00
Anders Hejlsberg a05ebc469c Preserve order in union types 2015-07-19 11:22:32 -07:00
kimamula 9c9e39e7a3 Add includes method to String interface, and remove contains 2015-07-18 18:50:41 +09:00
Jason Freeman e2303b1ae8 Clean up the language service aliases to check functions 2015-07-17 17:22:58 -07:00
Jason Freeman 3b78377cf0 Clean up pushTypeResolution 2015-07-17 17:22:54 -07:00
Jason Freeman c0b3835b19 Instantiate signatures if there is an overload resolution error but type arguments present 2015-07-17 17:22:51 -07:00
Jason Freeman 48588b622e Only consider a type resolution sequence a cycle if none of the items in the sequence have types 2015-07-17 17:22:47 -07:00
Jason Freeman fbe4246d39 Remove resolveLocation 2015-07-17 17:22:44 -07:00