Commit Graph
450 Commits
Author SHA1 Message Date
Anders Hejlsberg bb70e9eb12 Merge pull request #1346 from Microsoft/destructuring
Destructuring
2014-12-09 11:39:23 -08:00
Anders Hejlsberg 7bc35b3ae0 Merge branch 'master' into destructuring
Conflicts:
	src/compiler/binder.ts
	src/compiler/checker.ts
	src/compiler/emitter.ts
	src/compiler/parser.ts
	src/services/services.ts
	tests/baselines/reference/parserCommaInTypeMemberList2.errors.txt
2014-12-09 11:26:43 -08:00
Vladimir Matveev cd2016c48a Merge pull request #1416 from Microsoft/inherited_deltas
inherit delta from nodes on the same line
2014-12-09 10:46:41 -08:00
Vladimir Matveev 7ed4225413 inherit delta from nodes on the same line 2014-12-09 04:55:33 -08:00
Anders Hejlsberg 459dee0e84 Merge branch 'master' into destructuring
Move downlevel vs. ES6 emit branching into individual emit functions
2014-12-08 14:42:38 -08:00
Vladimir Matveev 929d359bdf fix formatting to add space after comma between arguments when arguments starts with open paren 2014-12-08 14:28:19 -08:00
Vladimir Matveev f30bb7ec35 add classification for type aliases 2014-12-05 17:32:36 -08:00
Sheetal Nandi e3320c2530 Merge pull request #1362 from Microsoft/contextSensitiveExpressions
Resolve the context sensitive expression containers before resolving node
2014-12-04 13:02:56 -08:00
Daniel Rosenwasser 6a882e7392 Merge pull request #1363 from Microsoft/noMoreExpandoBar
Fixed issue where missing identifiers pushed trivia into the navigation bar
2014-12-04 12:44:58 -08:00
Cyrus Najmabadi c735ccc46d Merge branch 'master' into propertyAssignments 2014-12-03 19:33:33 -08:00
Anders Hejlsberg 816abb19e4 Merge branch 'master' into destructuring
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	src/compiler/parser.ts
	src/compiler/types.ts
	src/services/navigationBar.ts
	tests/baselines/reference/assignmentLHSIsValue.errors.txt
	tests/baselines/reference/objectTypesWithOptionalProperties.errors.txt
	tests/baselines/reference/parserErrorRecovery_ParameterList2.errors.txt
2014-12-03 16:43:01 -08:00
Daniel Rosenwasser 0e9561194b Added tests. 2014-12-03 15:05:38 -08:00
Daniel Rosenwasser d4575572b6 parenetName -> parentName 2014-12-03 14:58:15 -08:00
Daniel Rosenwasser dfad03a35c Normalized line endings for test. 2014-12-03 14:56:02 -08:00
Sheetal Nandi 1939c7f2cd Fix the getSymbolInfo and getTypeOfNode entry points to resolve the context sensitive information before resolving the actual node 2014-12-03 14:47:13 -08:00
Sheetal Nandi c40e0f6738 Fixes the quickInfo when hovering over var inside the context sensitive expression
Handles #1165
2014-12-03 14:00:58 -08:00
Sheetal Nandi 1551c0a466 Merge pull request #889 from Microsoft/SymbolDisplayParkKindTests
Symbol display part kind test cases
2014-12-03 13:21:53 -08:00
Sheetal Nandi c4f4e787cf Add test cases for external module reference of the alias 2014-12-03 12:41:32 -08:00
Cyrus Najmabadi 0900005438 Don't rewrite function property assignments in the AST. 2014-12-03 01:46:04 -08:00
Mohamed Hegazy d9b3d21cba Merge branch 'master' into getOccurancesAssert 2014-12-02 20:16:50 -08:00
Anders Hejlsberg ecfcb9dded Fixing fourslash test 2014-12-02 16:01:32 -08:00
Anders Hejlsberg dc39de19e8 Removing fourslash test that no longer applies 2014-12-02 15:53:13 -08:00
Vladimir Matveev 76e8560b0e fix crash in signature help 2014-12-02 15:04:44 -08:00
Sheetal Nandi 8c116e5f34 Merge branch 'master' into SymbolDisplayParkKindTests 2014-12-02 08:47:15 -08:00
Mohamed Hegazy a9714257cc Handel modifier const in getOccurrances 2014-12-01 23:46:09 -08:00
Mohamed Hegazy 08165c0b17 Ensure getEmitOutput only check the file requested 2014-12-01 23:15:13 -08:00
Vladimir Matveev ad95cc8d47 handle cases when new expression is used with no arguments 2014-12-01 17:18:50 -08:00
Vladimir Matveev 10702797d9 Merge pull request #1321 from Microsoft/fix_token_meaning_in_formatting
take token kind from the tree in case if token kind from scanner is diff...
2014-12-01 15:50:43 -08:00
Vladimir Matveev 7358b0f7d3 take token kind from the tree in case if token kind from scanner is different 2014-12-01 13:29:49 -08:00
Daniel Rosenwasser 9da7287eaa Merge pull request #1275 from Microsoft/unterminator
Keep track of unterminated literal expressions.
2014-12-01 12:57:33 -08:00
Sheetal Nandi 7edd253307 Tests for external alias 2014-12-01 00:26:26 -08:00
Sheetal Nandi 7108215da8 tests for internal alias 2014-12-01 00:17:26 -08:00
Sheetal Nandi 136a8a725a Tests for external modules 2014-12-01 00:04:28 -08:00
Sheetal Nandi 948fc209a0 Tests for modules 2014-11-30 23:51:38 -08:00
Sheetal Nandi f7e7dc7101 Tests for const 2014-11-30 23:21:30 -08:00
Sheetal Nandi 62e9f082d6 Tests and fix symbol display for let 2014-11-30 23:16:22 -08:00
Sheetal Nandi f2605e0c08 Tests for var 2014-11-30 23:02:56 -08:00
Cyrus Najmabadi 16e28156e5 Support arbitrary numbers of implements and extends clauses (with arbitrary numbers of types) for classes and interfaces.
This vastly improves our error tolerance and messages for when the user writes an illegal heritage clause sequence.
2014-11-30 15:38:45 -08:00
Vladimir Matveev cca6eeaf99 new lines that were added\removed by rules must always be honores even if they doesn't trigger recomputation of indentation 2014-11-27 19:03:50 -08:00
Jason Freeman 02dc56946e Merge branch 'master' into computedProperties 2014-11-26 20:12:04 -08:00
Daniel Rosenwasser 0c348d28d5 Confused count with index. 2014-11-26 17:00:44 -08:00
Daniel Rosenwasser cef5062791 Fixed issue where classifier didn't check for backslash-newline. 2014-11-26 16:32:30 -08:00
Vladimir Matveev eda4b1bea0 handle regexes correctly in formatting 2014-11-26 00:29:20 -08:00
Jason Freeman 480883b227 Skip computed properties in the nav bar 2014-11-25 16:09:10 -08:00
Daniel Rosenwasser d373dc8a99 Merge branch 'master' into getOccsForModifiers 2014-11-25 15:03:28 -08:00
Daniel Rosenwasser ad39bdfb01 Merge branch 'master' into taggedSigHelp
Conflicts:
	src/services/signatureHelp.ts
2014-11-24 16:34:00 -08:00
Sheetal Nandi d74568f999 Tests for type parameter of function 2014-11-21 18:58:54 -08:00
Sheetal Nandi eeb5e0f8b2 Type Parameters in interface 2014-11-21 18:46:57 -08:00
Sheetal Nandi 24d1d8d756 Tests for type parameters in class 2014-11-21 17:42:27 -08:00
Daniel Rosenwasser 7836ae82b7 Fixed issue where findAllRefs on identifiers starting with 2+ underscores failed. 2014-11-21 16:53:32 -08:00