Commit graph

891 commits

Author SHA1 Message Date
Mohamed Hegazy
aa571ff088 Short-circuit semantic operations within with blocks 2014-09-15 13:55:18 -07:00
Mohamed Hegazy
85c6d34047 add basic support for contextual object literal completions 2014-09-15 13:55:01 -07:00
Mohamed Hegazy
57fa018a19 Use scanner APIs to identify if a display name is valid completion entry 2014-09-15 13:54:50 -07:00
Mohamed Hegazy
91b52b271f Support enum and module completions 2014-09-15 13:54:40 -07:00
Mohamed Hegazy
5db12f357f Filter private mebemers in class completions 2014-09-15 13:54:30 -07:00
Mohamed Hegazy
44adc06496 expose getAncestor method 2014-09-15 13:54:19 -07:00
Mohamed Hegazy
1a58afbd9f do not consider keywords tokens for compleation reasons, to allow completion on this and super 2014-09-15 13:54:08 -07:00
Mohamed Hegazy
5149c8f037 handel completion on missing symbols correctelly 2014-09-15 13:53:57 -07:00
Mohamed Hegazy
885569d4e7 Get correct kind for generic symbol completion entries 2014-09-15 13:53:46 -07:00
Mohamed Hegazy
8e0227eba2 Enable completion on expressions 2014-09-15 13:53:35 -07:00
Mohamed Hegazy
df7066f2e7 Enable completion fourslash tests 2014-09-15 13:53:25 -07:00
Anders Hejlsberg
11b9118cab Merge pull request #428 from Microsoft/tupleTypes
Adding support for tuple types (e.g. [number, string])
2014-09-15 11:12:43 -07:00
Anders Hejlsberg
b4cddc3903 Merge branch 'master' into tupleTypes 2014-09-15 11:04:58 -07:00
Anders Hejlsberg
b9ebb367c0 Merge pull request #665 from Microsoft/circularTypeInferenceErrors
Report circular type inference errors with -noImplicitAny
2014-09-12 13:15:17 -07:00
Anders Hejlsberg
b805037cf2 Improved error messages 2014-09-12 10:23:31 -07:00
Anders Hejlsberg
74536cc6ed Report circular type inference errors with -noImplicitAny 2014-09-12 07:28:49 -07:00
Anders Hejlsberg
b61c722eec Merge pull request #649 from Microsoft/propertyAssignmentWidening
Fix widening in object literal property assignments
2014-09-11 13:10:08 -07:00
Daniel Rosenwasser
86691f0883 Merge pull request #653 from Microsoft/getOccurrences
getOccurrencesAtPosition Implemented
2014-09-11 12:02:06 -07:00
Daniel Rosenwasser
0af26bcb8b Merge branch 'master' into getOccurrences 2014-09-11 11:11:00 -07:00
Daniel Rosenwasser
480aac9ede Merge branch 'master' into getOccurrences 2014-09-11 11:04:01 -07:00
Daniel Rosenwasser
6ec9786088 Merge pull request #639 from Microsoft/getOccurrencesConstructor
Implemented getOccurrences for 'constructor' keywords.
2014-09-11 11:03:36 -07:00
Jason Freeman
2ba3ae9225 Update package.json 2014-09-11 10:39:57 -07:00
Mohamed Hegazy
9093bac9de Update LKG 2014-09-11 10:29:43 -07:00
Mohamed Hegazy
1f2a2d2ae3 Simple fixes for the tests 2014-09-11 09:23:29 -07:00
Jason Freeman
7439ee35ba Merge pull request #651 from Microsoft/testForDiagnosticBounds
Add asserts for bounds on diagnostics
2014-09-10 18:03:58 -07:00
Jason Freeman
fad5650be6 Fix the error spans issue 2014-09-10 17:57:51 -07:00
Jason Freeman
c27379827b Add asserts for bounds on diagnostics 2014-09-10 16:44:57 -07:00
Anders Hejlsberg
b9ae6cec17 Adding a comment 2014-09-10 13:14:30 -07:00
Anders Hejlsberg
3d92adec7b Fix widening in object literal property assignments 2014-09-10 12:58:30 -07:00
Anders Hejlsberg
bf084f159d Merge pull request #640 from Microsoft/contextualSignatureInstantiation
Fix contextual signature instantiation during type inference
2014-09-09 18:46:42 -07:00
Sheetal Nandi
163674d07c Merge pull request #638 from Microsoft/qualificationOfMethods
Fix the condition for qualifying the symbol of methods and functions in the enclosing declaration
2014-09-09 16:21:41 -07:00
Anders Hejlsberg
2b58a239d1 Accepting new baselines 2014-09-09 15:23:24 -07:00
Anders Hejlsberg
34c4b312f9 Fix contextual signature instantiation during type inference 2014-09-09 15:17:33 -07:00
Daniel Rosenwasser
6cc0305a5d Implemented getOccurrences for 'constructor' keywords. 2014-09-09 14:54:19 -07:00
Daniel Rosenwasser
e1f8aa7b8f Merge pull request #632 from Microsoft/getOccurrencesSuperThanksForAsking
Get occurrences for 'super' keywords
2014-09-09 14:25:27 -07:00
Anders Hejlsberg
1a5b421380 Merge pull request #630 from Microsoft/truncateTypesInErrors
Truncate long types in error messages
2014-09-09 13:56:56 -07:00
Anders Hejlsberg
e2c3b50ed1 Merge branch 'master' into truncateTypesInErrors
Conflicts:
	src/compiler/checker.ts
2014-09-09 13:51:08 -07:00
Daniel Rosenwasser
83c35ad059 Addressed CR feedback. 2014-09-09 12:50:14 -07:00
Sheetal Nandi
840481da3b Fix the condition for qualifying the symbol of methods and functions in the enclosing declaration
Fixes #604
2014-09-09 12:45:10 -07:00
Daniel Rosenwasser
0e93d283e3 Separated 'super'/'this' keyword searching to simplify logic. 2014-09-09 12:41:57 -07:00
Mohamed Hegazy
3e4c5d5b2f remove unused file 2014-09-09 12:28:25 -07:00
Mohamed Hegazy
a62e7d218d Update LKG 2014-09-09 12:26:49 -07:00
Anders Hejlsberg
aa58dcbee0 Adding noErrorTruncation compiler option 2014-09-09 12:25:03 -07:00
Mohamed Hegazy
7ce8c8faad Merge pull request #635 from Microsoft/blobConstructor
Add constructor paramters to Blob
2014-09-09 09:16:26 -07:00
Mohamed Hegazy
f61d07db69 add constructor paramters to Blob 2014-09-08 22:30:01 -07:00
Daniel Rosenwasser
131ac2f188 Disabled findAllRefs for 'this'/'super'. 2014-09-08 17:44:15 -07:00
Mohamed Hegazy
6fee404152 Merge pull request #602 from Microsoft/noImplicitAnyOnCast
Do not show noImplictAny errors when widening for a cast expression
2014-09-08 17:28:49 -07:00
Daniel Rosenwasser
dd5d216038 Merge pull request #600 from Microsoft/getOccurrencesThis
Get occurrences for 'this' keywords
2014-09-08 17:19:42 -07:00
Anders Hejlsberg
9f3d83adeb Truncate long types in error messages 2014-09-08 16:14:43 -07:00
Daniel Rosenwasser
1cd0b306ed Added tests for getOccurrences on super. 2014-09-08 14:40:44 -07:00