Commit Graph
569 Commits
Author SHA1 Message Date
Jason Freeman ab3326f7b7 Fix arity checking for partial overload resolution 2014-09-30 17:13:47 -07:00
Mohamed Hegazy e49ff08922 Merge pull request #763 from Microsoft/protectedCompletion
Protected completion
2014-09-30 13:32:46 -07:00
Mohamed Hegazy 8089673066 Filter protected members from the completion list 2014-09-26 14:37:17 -07:00
Daniel Rosenwasser 4ed6a80c9c Limited identifying identifiers after dots to keywords. 2014-09-26 09:46:14 -07:00
Cyrus Najmabadi b91dfc2cfc Provide helpers for creating symbol display parts. 2014-09-25 14:57:29 -07:00
Cyrus Najmabadi 236b70b40b Merge branch 'master' into classifiedSigHelp
Conflicts:
	src/services/services.ts
	src/services/signatureHelp.ts
2014-09-25 14:27:42 -07:00
Mohamed Hegazy e20bec560a Do not use 'foo' in tsc help message 2014-09-24 13:58:25 -07:00
Adam Freidin 22dc3574c1 spelling: Collistion -> Collision 2014-09-24 13:07:23 -07:00
Vladimir Matveev dae98be062 Merge pull request #737 from Microsoft/instanceof_cascading_errors
do not report cascading errors in instanceof operator
2014-09-24 11:09:21 -07:00
Jason Freeman 7bd7d4605e Merge pull request #726 from Microsoft/sigHelp
Signature help in the new compiler
2014-09-24 10:58:50 -07:00
Vladimir Matveev 9f23f74fc3 Merge pull request #736 from Microsoft/unary_operators_strict_mode
use operator token when checking unary expressions in strict mode
2014-09-24 10:56:10 -07:00
Vladimir Matveev d52a93d58d Fix typo in comments 2014-09-24 10:53:55 -07:00
Jason Freeman 22e989795d Merge branch 'master' into sigHelp
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
	src/services/services.ts
2014-09-24 10:47:41 -07:00
Daniel Rosenwasser dc9c3e168b Merge pull request #731 from Microsoft/acknowledgeTrivia
Use the 'skipTrivia' scanner flag for lexical classification
2014-09-24 13:39:50 -04:00
Jason Freeman 3dc686028a Address PR feedback for trailing commas 2014-09-24 10:36:44 -07:00
Vladimir Matveev 649f5c01a4 do not report cascading errors in instanceof operator 2014-09-24 09:10:40 -07:00
Vladimir Matveev ef6a87cdfb use operator token when checking unary expressions in strict mode 2014-09-24 08:52:02 -07:00
Jason Freeman de2ac51924 Change NodeArray to have a hasTrailingComma property instead of an OmittedExpression 2014-09-23 19:40:25 -07:00
Cyrus Najmabadi d6fc3fc2da Code review feedback. 2014-09-23 15:41:04 -07:00
Jason Freeman 8f602804a3 Respond to PR comments 2014-09-23 15:34:42 -07:00
Cyrus Najmabadi 352cc0ef13 Merge branch 'master' into classifiedQuickInfo 2014-09-23 13:55:18 -07:00
Cyrus Najmabadi 3c68252e08 Simplify writing code. 2014-09-23 13:51:42 -07:00
Cyrus Najmabadi 7a4fb64233 Code review feedback. 2014-09-23 13:32:32 -07:00
Daniel Rosenwasser 292cfc8721 Use the 'skipTrivia' scanner flag for lexical classification. 2014-09-23 12:30:23 -07:00
Jason Freeman fd43211d6a Replace native division with integer division 2014-09-22 15:05:31 -07:00
Jason Freeman 2fa24a7e7a Throw when cancellation is requested 2014-09-22 15:05:29 -07:00
Jason Freeman ff24963a80 Initial draft of getSignatureHelpCurrentArgumentState 2014-09-22 15:05:18 -07:00
Jason Freeman 2486aa92c6 Refactor collectCandidates and add type parameters to signature display 2014-09-22 15:05:12 -07:00
Jason Freeman 7367053313 Fix name printing in signature help 2014-09-22 15:05:10 -07:00
Jason Freeman 1bfd7159e8 Further changes to parser for OmittedExpressions, and make checker resilient to them 2014-09-22 15:05:06 -07:00
Jason Freeman 9973b9c075 Add an OmittedExpression for trailing commas in calls 2014-09-22 15:05:03 -07:00
Jason Freeman 9e81c5c09d Revert to old behavior for forEach 2014-09-22 15:04:57 -07:00
Jason Freeman 711d10aada Remove TrailingCommaBehavior in favor of two boolean parameters 2014-09-22 15:04:55 -07:00
Jason Freeman 67516a1f61 Extract findListItem from smart indenter 2014-09-22 15:04:51 -07:00
Jason Freeman 49ae281059 Start testing signature counts and adjust some syntactic computations 2014-09-22 15:04:47 -07:00
Jason Freeman 8a765d7680 Semantic filtering of candidate signatures 2014-09-22 15:04:45 -07:00
Mohamed Hegazy 95394220b4 Merge branch 'release-1.1'
Conflicts:
	Jakefile
	src/compiler/tsc.ts
2014-09-22 14:55:28 -07:00
Yui T 8947757d09 Merge branch 'master' into returnExitCode 2014-09-22 14:05:55 -07:00
Mohamed Hegazy 09d6e4aaa6 Condition the custom serialization on the existance of JSON 2014-09-22 13:17:21 -07:00
Mohamed Hegazy 7e6bb85be4 Merge pull request #710 from Microsoft/JSONInEmitter
Add explict serialization logic for source maps to avoid using JSON
2014-09-22 12:47:48 -07:00
Mohamed Hegazy 4465fe1890 respond to code review comments 2014-09-22 12:47:26 -07:00
Mohamed Hegazy 804a3a5a57 Properly escape strings when serializing source maps 2014-09-22 11:50:31 -07:00
Yui T 94e788c737 Address code review 2014-09-22 09:43:47 -07:00
Cyrus Najmabadi f4cdbfab18 Add support for getting the doc comment from a symbol. 2014-09-22 00:05:39 -07:00
Cyrus Najmabadi e3609e20af Rename Comment->CommentRange. 2014-09-21 14:52:51 -07:00
Cyrus Najmabadi fae7a3560e Provide capability to ask the checker what the constant value of an enum member is. 2014-09-21 13:58:15 -07:00
Cyrus Najmabadi 89eff5608d Merge branch 'master' into classifiedQuickInfo 2014-09-20 14:43:30 -07:00
Cyrus Najmabadi b43c123b53 More quick info work. 2014-09-19 16:49:58 -07:00
Yui T 76656f2460 Address code reviews 2014-09-19 16:18:16 -07:00
Cyrus Najmabadi 4d1a43a905 Update names. 2014-09-19 16:02:58 -07:00