Commit graph

331 commits

Author SHA1 Message Date
Dick van den Brink
c9c8748152 Code style: Missing semicolons 2014-08-04 22:32:32 +02: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
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
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
Vladimir Matveev
b43d694ec1 move exportAssignSymbol to symbolLinks 2014-08-01 13:09:06 -07:00
Ryan Cavanaugh
acd3ba35cc Remove debugger statements from fourslash tests 2014-08-01 13:05:23 -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
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
milkisevil
95badebee3 Added ArrayBuffer.slice() to extensions.d.ts 2014-08-01 12:18:42 +01:00
Daniel Rosenwasser
91023227e4 Changed watchFile callback behavior.
We no longer recompile unless the new last-modified time is more recent.
2014-07-31 22:41:01 -07:00
Daniel Rosenwasser
f2a8842215 Addressed code review feedback. 2014-07-31 21:43:08 -07:00
Mohamed Hegazy
13bda5247b Merge pull request #303 from Microsoft/ls
Enable basic Language Service on the new compiler
2014-07-31 19:10:06 -07:00
Mohamed Hegazy
732ffc0d5d More changes to address code review comments 2014-07-31 19:04:55 -07:00
Mohamed Hegazy
61436368b5 Merge branch 'master' into ls 2014-07-31 18:43:53 -07:00
Anders Hejlsberg
352a44df3f Accepting new baselines.
Previous commit fixes overly aggressive -noImplictAny reporting. In the test case the source
of the error is the 'getAndSet' property that implicitly gets type any. The fact that the setter
then gets type any isn't actually an error.
2014-07-31 15:56:00 -07:00
Anders Hejlsberg
bd97ba443a Restructuring and cleanup.
Changed binder to record catch clause instead of catch variable as symbol declaration.
Restructuring of getTypeOfVariableDeclaration and getTypeOfVariableOrParameterOrProperty methods.
Restructuring of checkFunctionExpression method.
2014-07-31 15:48:03 -07:00
Daniel Rosenwasser
617910b3d4 Support the '--watch' compiler flag. 2014-07-31 14:57:54 -07:00
Daniel Rosenwasser
3ba4ad55c0 Merge pull request #320 from Microsoft/slashInCharClass
Fixed error when parsing slashes in RegExp literals.
2014-07-31 14:33:58 -07:00
Vladimir Matveev
fee596b2d5 added test for skipped node case 2014-07-31 12:01:46 -07:00
Vladimir Matveev
ed26563146 Merge pull request #317 from Microsoft/order_of_overloads
Disallow statements between overloads
fixed #75 and #92
2014-07-31 11:37:34 -07:00
Vladimir Matveev
a62b47eace addressed CR feedback: changed error message 2014-07-31 11:06:42 -07:00
Daniel Rosenwasser
35803db2e6 Fixed error when parsing slashes in RegExp literals.
Basically we weren't recognizing that a slash can occur in a character class, so we were bailing out too early on code like `/[/]/`.

Fixes issue #318.
2014-07-31 00:36:50 -07:00
Vladimir Matveev
853288b65f update LKG 2014-07-30 17:45:01 -07:00
Vladimir Matveev
59b1e46102 disallow statements between overloads 2014-07-30 16:27:13 -07:00
Mohamed Hegazy
0a206d8855 Respond to code review comments:
* Change comment to say "noresolve=false" in shims.ts 05eeba5bc9
* Switch newline to "\r\n" 9395eeaedb
* Use hasOwnProperty for Map types 212c184602
* Switch "s" to "S" in typescriptServices.ts filename 9061e58dff
* Change method names in Node to be more detailed
2014-07-30 14:46:33 -07:00
Daniel Rosenwasser
a87a686496 Merge pull request #304 from Microsoft/likeaversion
Print version number for --version.
2014-07-30 11:22:31 -07:00
Anders Hejlsberg
8199b0b236 Pull model for contextual types.
New baselines reflect a couple of unrelated bug fixes.
2014-07-29 18:21:16 -07:00
Daniel Rosenwasser
c171c79464 Moved error checking for command line options around. 2014-07-29 16:42:38 -07:00