Commit Graph

5165 Commits

Author SHA1 Message Date
Sheetal Nandi
38f14b5b1d Block completion list on import declaration name and fix the crash in symbol display name when import declaration is incomplete
Fixes #991
2014-11-06 19:37:05 -08:00
Sheetal Nandi
127aa49e55 Fix the union property kind if the property is union of exported variable of module
Fixes #929
2014-11-06 19:18:20 -08:00
Sheetal Nandi
28fa6029eb Fix the crash in getCompilerOptionsDiagnostics by not using file name as compiler options do not have file name
Fixes #988
2014-11-06 19:00:44 -08:00
Sheetal Nandi
bfca3c5548 Fix the line preservation between jsdoc comments while displaying it
Fixes #891
2014-11-06 18:49:05 -08:00
Vladimir Matveev
62dd501a48 code cleanup: remove unused arguments 2014-11-06 18:37:44 -08:00
Sheetal Nandi
8ab038f1a3 Fixed the merge conflicts that went undetected in github 2014-11-06 18:02:29 -08:00
Vladimir Matveev
7e595f4701 code cleanup: inline functions 2014-11-06 18:00:15 -08:00
Daniel Rosenwasser
80b8062a01 Addressed CR feedback. 2014-11-06 17:58:21 -08:00
Vladimir Matveev
91065ec92c removed duplicate code 2014-11-06 17:55:45 -08:00
Sheetal Nandi
beef2ebbe6 Merge pull request #1079 from Microsoft/showNarrowedType
Show narrowed type in quickInfo/completion entry
2014-11-06 17:17:51 -08:00
Sheetal Nandi
9e2eb3bc03 Merge pull request #1058 from Microsoft/contextualUnionTypeConformance
Contextual union type conformance test cases and Fix for contextual union signature
2014-11-06 16:25:40 -08:00
Sheetal Nandi
727f36ad02 Merge pull request #1080 from Microsoft/breakpointTypeAlias
Breakpoint type alias
2014-11-06 16:24:56 -08:00
Vladimir Matveev
364b63bd82 simplify formatting scanner 2014-11-06 16:19:09 -08:00
Yui T
6c9c502218 Merge branch 'master' into refactorRefFilesPath
Conflicts:
	src/services/compiler/precompile.ts
	src/services/services.ts
	src/services/utilities.ts
2014-11-06 15:47:58 -08:00
Sheetal Nandi
61c45816c4 Type aliases cannot have breakpoints 2014-11-06 15:40:28 -08:00
Vladimir Matveev
b7b3506c59 change folder structure, move all new formatting related bits to 'format' folder 2014-11-06 15:31:42 -08:00
Sheetal Nandi
12370332a1 Show narrowed type in quickInfo/completion entry
Fixes #927
2014-11-06 15:20:31 -08:00
Anders Hejlsberg
2d3752ea24 Merge branch 'master' into destructuring 2014-11-06 15:07:08 -08:00
Yui T
8a779e1e85 Basic typechecking and emitting for short hand property assignment
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/emitter.ts
2014-11-06 15:01:39 -08:00
Anders Hejlsberg
a01b44080c Rework tracking and error reporting related to widening of types 2014-11-06 14:15:36 -08:00
Sheetal Nandi
e79229b88d Update some documentation as per code review feedback 2014-11-06 13:44:10 -08:00
Yui T
150e8d30d7 Store scanner position before create PropertyDeclaration node 2014-11-06 13:42:22 -08:00
Sheetal Nandi
6aa9bd68f7 Merge branch 'master' into unionTypeInSignatureDisplay 2014-11-06 13:37:18 -08:00
Jason Freeman
5164fbc3bd Merge branch 'master' into computedPropertyName 2014-11-06 11:52:19 -08:00
Jason Freeman
279166be50 Address feedback 2014-11-06 11:51:49 -08:00
vladima
c3a88d3482 code cleanup: replace nulls with undefined 2014-11-06 11:10:27 -08:00
vladima
ace99ad051 code cleanup, removed unused files 2014-11-06 10:57:19 -08:00
vladima
bbc2da79bb return last scanned token if possible 2014-11-06 00:37:58 -08:00
CyrusNajmabadi
147550e2d3 Merge pull request #1065 from Microsoft/shorthandProperties
Add support for parsing shorthand property assignments.
2014-11-05 22:53:43 -08:00
Vladimir Matveev
154977ce95 add child delta for all nodes 2014-11-05 19:35:53 -08:00
Daniel Rosenwasser
652b7f8909 Corrected comment. 2014-11-05 18:34:53 -08:00
Daniel Rosenwasser
bcddb101aa Proper type arg inference with apppropriate overload res tests. 2014-11-05 18:20:40 -08:00
Jason Freeman
bc70e4a29d Make certain types of FunctionLike require block bodies 2014-11-05 18:04:19 -08:00
Jason Freeman
6c85dbe140 Refactor Declaration.name into Identifier | ComputedPropertyName 2014-11-05 17:47:30 -08:00
Vladimir Matveev
edbb99d959 merge with master 2014-11-05 17:34:42 -08:00
Vladimir Matveev
13054710c7 track effective parent indentation for list items 2014-11-05 17:07:47 -08:00
Vladimir Matveev
680b59481b fix indentation for nested items 2014-11-05 15:35:18 -08:00
Vladimir Matveev
9a30fa882b do not indent tokens with errors 2014-11-05 15:29:51 -08:00
Vladimir Matveev
f28c1a3498 fix indentations in functions 2014-11-05 15:23:11 -08:00
Daniel Rosenwasser
fea1165186 Merge branch 'master' into taggedTemplates 2014-11-05 14:06:19 -08:00
Daniel Rosenwasser
e12e31b144 Removed duplicate diagnostic. 2014-11-05 12:26:03 -08:00
Anders Hejlsberg
86f290fbb9 Initial parser support for destructuring patterns 2014-11-05 06:21:58 -08:00
Cyrus Najmabadi
bea124b217 Simplify code. 2014-11-05 04:08:20 -08:00
Cyrus Najmabadi
1a1c9ace8a Add support for parsing computed property names. 2014-11-05 03:49:25 -08:00
Cyrus Najmabadi
cb97682d83 Add the IPropertyNameSyntax.
This will help us introduce the ComputedPropertyName concept in the future.

Conflicts:
	src/services/syntax/syntaxNodes.concrete.generated.ts
2014-11-05 00:54:53 -08:00
Cyrus Najmabadi
ae87b08e33 Add support for parsing shorthand property assignments. 2014-11-04 23:04:07 -08:00
Cyrus Najmabadi
5952036e2c Remove unnecessary brand. 2014-11-04 22:43:11 -08:00
Cyrus Najmabadi
3753058874 Add an IAccessorSyntax interface. 2014-11-04 22:43:01 -08:00
Cyrus Najmabadi
ba2bdc4124 Add missing brands to the syntax interfaces. 2014-11-04 22:42:43 -08:00
Cyrus Najmabadi
a9a2fe501a Specialize computeData for arrays. 2014-11-04 22:41:13 -08:00