Commit Graph

2210 Commits

Author SHA1 Message Date
Anders Hejlsberg
261ff5b338 Consistently record contextual types in function expressions.
Removing check that would guard against recording contextual type. The NodeFlags.ContextChecked flag already
protects against assigning more than once.
2014-08-04 12:58:33 -07:00
Mohamed Hegazy
5c350e4d3d adapt to changes after merge 2014-08-04 12:56:48 -07:00
Mohamed Hegazy
1667894ec6 Merge branch 'master' into getDefinition 2014-08-04 12:52:27 -07:00
Mohamed Hegazy
a061f99541 undo moving unknownSymbol to global 2014-08-04 12:52:19 -07:00
Daniel Rosenwasser
a64db42337 Got rid of that cscript-breaking comma. 2014-08-04 12:28:46 -07:00
Mohamed Hegazy
5d26599811 remove documentsByName 2014-08-04 12:26:44 -07:00
Daniel Rosenwasser
e05e7836e3 Style and comments. 2014-08-04 12:20:54 -07:00
Sheetal Nandi
0e76a82072 Fix the incorrect error reporting and declaration file emit for the type parameter constraint of private methods
Also incorporates code review feedback
2014-08-04 12:06:07 -07:00
Mohamed Hegazy
4da02cbc06 rename values named document to sourceFile 2014-08-04 12:00:47 -07:00
Mohamed Hegazy
aa75de9c70 Consolidate Document and SoruceFile 2014-08-04 12:00:37 -07:00
Anders Hejlsberg
c17a24738c Merge pull request #350 from Microsoft/pullContextualTypes2
Fix duplicate getTypeOfExpression function.
2014-08-04 11:59:58 -07:00
Anders Hejlsberg
6b2a970ff3 Fix duplicate getTypeOfExpression function. 2014-08-04 11:58:32 -07:00
Anders Hejlsberg
9a5324347e Merge pull request #330 from Microsoft/pullContextualTypes
Pull model for contextual types
2014-08-04 11:51:23 -07:00
Anders Hejlsberg
2b26e37976 Addressing CR feedback. 2014-08-04 11:40:56 -07:00
Anders Hejlsberg
93e617ad32 Merge pull request #349 from Microsoft/fixBrokenCScript
Removing trailing comma that breaks cscript.exe.
2014-08-04 11:33:04 -07:00
Anders Hejlsberg
1e586134f7 Removing trailing comma that breaks cscript.exe. 2014-08-04 11:18:00 -07:00
Anders Hejlsberg
116401b2c8 Addressing CR feedback.
checkImplicitAny now returns void.
2014-08-03 15:53:06 -07:00
Anders Hejlsberg
52ca6071c9 Merge pull request #333 from Microsoft/fixContainerList
Properly build container list in binder.
2014-08-03 15:23:10 -07:00
Daniel Rosenwasser
9a89147587 Merge pull request #324 from Microsoft/watcherIardlyKnowEr
Support the '--watch' compiler flag.
2014-08-02 17:52:02 -07:00
Vladimir Matveev
23117a9d97 Merge pull request #335 from Microsoft/export_assignments_on_links
move exportAssignSymbol to symbolLinks
2014-08-02 14:10:56 -07:00
Daniel Rosenwasser
5a8eff848b Minor edits, no longer release 'program'
Edited comments, no longer releasing 'program' as it is potentially confusing and doesn't buy us a heck of a lot anyway.
2014-08-02 12:03:25 -07:00
Daniel Rosenwasser
30509f1ecc Changed messages, got rid of 'oldProgram'. 2014-08-01 18:54:26 -07:00
Mohamed Hegazy
a4f6fa6bb9 Merge pull request #337 from Microsoft/LibFormDataFix
Update lib.d.ts to fix issues #225 and #314
2014-08-01 18:41:36 -07:00
Mohamed Hegazy
0d1ed3f12c Update LKG 2014-08-01 17:52:51 -07:00
Mohamed Hegazy
3a46a1c5e5 Fix #314: SourceBuffer.appendBuffer() is missing overload for ArrayBufferView param in lib.d.ts 2014-08-01 17:51:41 -07:00
Mohamed Hegazy
694dc0e759 Fix #225: Incompatible FormData constructor between W3C specs 2014-08-01 17:50:57 -07:00
Daniel Rosenwasser
2dd9763bad Implemented --help. 2014-08-01 17:33:14 -07:00
Daniel Rosenwasser
616dae20f0 Fixed diagnostic generator; added messages. 2014-08-01 17:24:02 -07:00
Mohamed Hegazy
8956c4947c update test to add true and false values 2014-08-01 17:15:25 -07:00
Mohamed Hegazy
e2b02c6bdd Add new go to def test 2014-08-01 17:12:00 -07:00
Mohamed Hegazy
41b7eb25a3 Make goto def jump to labels across function boundries 2014-08-01 17:11:41 -07:00
Mohamed Hegazy
8606873db6 move identifier-like node handleing (e.g. super, this, string property access etc..) to the checker 2014-08-01 17:11:11 -07:00
Anders Hejlsberg
afe3abde5b Adding test output file. 2014-08-01 15:24:02 -07:00
Anders Hejlsberg
cb038467d6 Adding regression test for #325 2014-08-01 15:20:08 -07:00
Mohamed Hegazy
e6f930b53a support goto def on object literal properties 2014-08-01 15:09:12 -07:00
Dan Quirk
c25ed6b3ca Add timeout for CI server and switch to min reporter since dots are mostly useless there 2014-08-01 15:06:43 -07:00
Ryan Cavanaugh
b4a450026b Use compiler directly in fourslash runner so we can avoid repeated compile overhead 2014-08-01 14:36:20 -07:00
Ryan Cavanaugh
fedbc1cd9e Fix compile errors in fourslash tests 2014-08-01 14:36:18 -07:00
Ryan Cavanaugh
195e3e3495 Merge pull request #334 from Microsoft/removeDebuggerStatements
Remove debugger statements from fourslash tests
2014-08-01 14:33:16 -07:00
Mohamed Hegazy
205974d453 Add new GotoDefinition tests 2014-08-01 14:29:42 -07:00
Vladimir Matveev
b43d694ec1 move exportAssignSymbol to symbolLinks 2014-08-01 13:09:06 -07:00
Mohamed Hegazy
76bca3a766 Add support for goto def on external module name 2014-08-01 13:07:52 -07:00
Ryan Cavanaugh
acd3ba35cc Remove debugger statements from fourslash tests 2014-08-01 13:05:23 -07:00
Mohamed Hegazy
a303c1eb27 Update getSymbolOfIdentifier to ensure we are gettting the alas symbol in both type and value positions 2014-08-01 12:55:20 -07:00
Anders Hejlsberg
e6ea85d31b Properly build container list in binder.
Containers are added to container list only if they aren't already on the list.
Fixes #325.
2014-08-01 12:36:09 -07:00
Vladimir Matveev
13bbb98a1e Merge pull request #331 from Microsoft/capture_this_in_constructors
emit this capturing as a first action in the constructor.
2014-08-01 11:33:09 -07:00
Mohamed Hegazy
12490755a8 Fix typos 2014-08-01 11:26:31 -07:00
Vladimir Matveev
c0b3efbbb4 emit this capturing as a first action in the constructor 2014-08-01 11:16:09 -07:00
Mohamed Hegazy
6740150814 Merge pull request #328 from milkisevil/array-buffer-slice
Added ArrayBuffer.slice() to extensions.d.ts
2014-08-01 11:01:25 -07:00
Anders Hejlsberg
5d25821cff Introduced fullTypeCheck flag.
checkFunctionExpression only type checks function body if fullTypeCheck is true.
2014-08-01 08:13:38 -07:00