Commit Graph
3649 Commits
Author SHA1 Message Date
Vladimir Matveev aedbff163b Merge remote-tracking branch 'origin' into errorMessageInEnums 2015-08-26 14:03:14 -07:00
Anders Hejlsberg bbaf322ab7 Merge pull request #4464 from Microsoft/cacheTypeInstantiations
Cache anonymous object type instantiations
2015-08-26 13:29:54 -07:00
Vladimir Matveev a38c32f495 fix error message for forward references in enums 2015-08-26 13:12:29 -07:00
Yui T e6d91a459e Merge branch 'release-1.6' 2015-08-26 11:14:22 -07:00
Yui T b9622780c2 Merge branch 'release-1.6' into fix3989
Conflicts:
	src/services/services.ts
2015-08-26 11:07:19 -07:00
Anders Hejlsberg d615d21e6d Add cache of anonymous object type instantiations to TypeMapper 2015-08-26 06:41:41 -07:00
Mohamed Hegazy ea35f07c0e change variable name 2015-08-25 17:45:21 -07:00
Mohamed Hegazy 01dda94433 Only set files if we have one 2015-08-25 17:44:16 -07:00
Mohamed Hegazy d3d4a00691 use toLowerCase and remove unused property 2015-08-25 17:43:46 -07:00
Mohamed Hegazy 509232f477 Move handeling to a diffrent function, and remove specialized serialization 2015-08-25 17:42:39 -07:00
Mohamed Hegazy 16a6de281c Update error message 2015-08-25 14:41:43 -07:00
Mohamed Hegazy b85665cd38 Make new exported functions internal 2015-08-25 14:34:34 -07:00
Mohamed Hegazy f3d36616b7 Merge branch 'init' of https://github.com/tinganho/TypeScript into tinganho-init
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
2015-08-25 14:23:41 -07:00
Tingan Ho 963ba1918e Addresses CR feedback 2015-08-25 15:05:02 +08:00
Mohamed Hegazy ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Sheetal Nandi 3fdb5e8882 Used let instead of var 2015-08-24 12:08:22 -07:00
Sheetal Nandi 3ca08916d4 When emitting metadata about type, Use object type if the type cant be resolved
This could be true if expression cannot be resolved resulting in error
2015-08-24 12:07:14 -07:00
Sheetal Nandi 979e2bf7c4 Write synthesized node's text property instead of getting text from source file
This fixes issue of not being able to emit qualified expression correctly
2015-08-24 12:06:21 -07:00
Sheetal Nandi 8c7a634814 Merge branch 'master' into importDeclarationAndDecorator 2015-08-24 11:04:08 -07:00
Sheetal Nandi 1ca28b739e Merge pull request #4402 from Microsoft/metadataTypeName
Instead of writing text from source file use text property to write t…
2015-08-24 10:59:05 -07:00
Zhengbo Li ecaf16df4b Merge pull request #4283 from zhengbli/JsDocIntellisense2
Add Intellisense to JsDoc
2015-08-21 16:08:37 -07:00
Ryan Cavanaugh c12da5a2c2 Merge pull request #4406 from RyanCavanaugh/fix4404
Correctly identify JSX Expressions as Expression parent nodes
2015-08-21 15:27:39 -07:00
Ryan Cavanaugh 27dabe49e0 Merge remote-tracking branch 'upstream/master' into fix4376_2
# Conflicts:
#	src/compiler/emitter.ts
2015-08-21 14:49:48 -07:00
Ryan Cavanaugh 00d4b4cb50 Correctly identify JSX Expressions as Expression parent nodes
Fixes bug #4404
2015-08-21 14:43:14 -07:00
Ryan Cavanaugh 65f4ac6d6f Merge pull request #4381 from RyanCavanaugh/fix4125
Convert HTML entities to strings (#4125)
2015-08-21 13:30:09 -07:00
Sheetal Nandi 060dbd24f4 Instead of writing text from source file use text property to write text of synthesized node
Fixes #4364
2015-08-21 13:10:30 -07:00
zhengbli 582b0aa31e parse jsdoc param tag even without a param name 2015-08-21 13:07:41 -07:00
Mohamed Hegazy 2ed9bdbfb8 Merge pull request #4390 from adidahiya/fix-remove-TypeCheckerHost-interface
Make TypeCheckerHost internal
2015-08-21 12:23:40 -07:00
Adi Dahiya 7f52d5054d Make TypeCheckerHost internal
Fixes #4346
2015-08-21 01:43:47 -04:00
Mohamed Hegazy b395fb9f45 Merge branch 'master' into outFile
Conflicts:
	src/harness/fourslash.ts
2015-08-20 17:46:38 -07:00
Mohamed Hegazy 00cd8ad745 Add --outFile and revert change make --out relative in tsconfig.json 2015-08-20 17:37:56 -07:00
Vladimir Matveev dde7545d34 address PR feedback 2015-08-20 16:13:49 -07:00
Mohamed Hegazy cfc164b044 Consolidate option error messages into two 2015-08-20 15:58:57 -07:00
Sheetal Nandi 345de8fca5 Resolve the decorator type as type and check if the symbol has value.
This would make sure we are referencing correct symbol to check if it has value
Fixes #4239
2015-08-20 15:45:51 -07:00
Mohamed Hegazy 2a751abe4e Merge pull request #4371 from Microsoft/emitOutputForTsx
Emit tsx files correctly in getEmitOutput calls
2015-08-20 15:12:22 -07:00
Ryan Cavanaugh 6eca09b062 Handle non-entities as well 2015-08-20 12:30:12 -07:00
Ryan Cavanaugh 16e72971d9 Add comments 2015-08-20 12:23:27 -07:00
Ryan Cavanaugh 67f81bc53c Convert HTML entities to strings (#4125) 2015-08-20 12:20:28 -07:00
Ryan Cavanaugh f659c9098c Fix React whitespace emit #4376 2015-08-20 11:38:03 -07:00
Basarat Syed 042e1bbd91 fix(scanner) try a trivia scan only if pos === 0 2015-08-20 17:45:54 +10:00
Mohamed Hegazy f95fcf9671 Emit tsx files correctelly in getEmitOutput calls 2015-08-19 22:18:32 -07:00
Vladimir Matveev 5bcb3f0be8 Merge pull request #4368 from Microsoft/noResolveAndExternalModules
Process imports to source files to record module name resolutions
2015-08-19 17:00:36 -07:00
Vladimir Matveev 4a829572be added tests 2015-08-19 15:37:37 -07:00
Yui T 4c44de6c5f Write out type parameter in type alias in quick-info 2015-08-19 12:38:36 -07:00
Yui T ed1383842c Fix space 2015-08-19 12:38:08 -07:00
Vladimir Matveev ffadce6335 always process imported modules in 'createProgram' to record module resolutions 2015-08-19 11:58:02 -07:00
David Souther 407c8beed5 Emits safe value for import. 2015-08-18 21:17:43 -04:00
Vladimir Matveev f415097d0d addressed PR feedback 2015-08-18 14:52:21 -07:00
Vladimir Matveev 049a5fba07 added tests 2015-08-18 13:36:08 -07:00
Schmavery 6f42e4164b Apply suggested fixes to arguments PR 2015-08-17 18:33:48 -07:00