Hide Dart Mind setting

R=lukechurch@google.com

Review URL: https://codereview.chromium.org//539443002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39801 260f80e4-7a28-3924-810f-c04153c831b5
Remove unused string interpolations.

BUG=
R=lrn@google.com

Review URL: https://codereview.chromium.org//532233002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39802 260f80e4-7a28-3924-810f-c04153c831b5
Don't always call _copyFromObjectArray.

The call is a runtime call, not internalized as I expected.
Only use it for large array slices.

R=srdjan@google.com, vegorov@google.com

Review URL: https://codereview.chromium.org//518273004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39803 260f80e4-7a28-3924-810f-c04153c831b5
VM: Clean up generated code for NoSuchMethod invocation of closures.

Remove unnecessary ic-data argument from the runtime function that
invokes noSuchMethod for closures.  This reduces the size of generated
code for closures.

R=vegorov@google.com

Review URL: https://codereview.chromium.org//517383005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39804 260f80e4-7a28-3924-810f-c04153c831b5
Use explicit ElementKind tests instead of is-tests.

R=herhut@google.com

Review URL: https://codereview.chromium.org//535013002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39805 260f80e4-7a28-3924-810f-c04153c831b5
Use JavaScript to detect if Selection.modify is available.

R=kasperl@google.com

Review URL: https://codereview.chromium.org//535883002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39806 260f80e4-7a28-3924-810f-c04153c831b5
Document all the cases where HoverInformation fields can be absent.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//528303002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39807 260f80e4-7a28-3924-810f-c04153c831b5
Integrate EXTRACT_METHOD refactoring into the server.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//534123002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39808 260f80e4-7a28-3924-810f-c04153c831b5
Fix for NPE in the server.

I think that is the same NPE we saw in both Dart and Java last week.

R=brianwilkerson@google.com, paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org//529313002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39809 260f80e4-7a28-3924-810f-c04153c831b5
Reland: Fix scoping async functions.

This CL fixes several scoping/context issues:
* Do not reuse scopes in SequenceNode_s as they might introduce a new context
  level. In that case we would trigger context allocationg multiple times
  resulting in scope/contexts being out of sync.
* Properly save and restore saved_try_context in try/catch/finally blocks and
  nesting closures. For this we need to keep track of async closures top scopes.

Updated version of https://codereview.chromium.org/520223002/

BUG=
R=hausner@google.com, srdjan@google.com

Review URL: https://codereview.chromium.org//530313002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39810 260f80e4-7a28-3924-810f-c04153c831b5
Do not report errors/warnings regarding argument count or order, if a blank argument exists

BUG= https://code.google.com/p/dart/issues/detail?id=11933

This file:

$ cat issue-11933.dart
bar(a, b, { c, d }) => a+b;

main() {
  print(bar(1,));
  print(bar(1, 4, d: 2, c: 3,));
}

normally generates these errors and warnings:

Analyzing [issue-11933.dart]...
[error] Expected an identifier (/Users/srawlins/code/dart/dart/issue-11933.dart, line 4, col 15)
[error] Positional arguments must occur before named arguments (/Users/srawlins/code/dart/dart/issue-11933.dart, line 5, col 30)
[error] Expected an identifier (/Users/srawlins/code/dart/dart/issue-11933.dart, line 5, col 30)
[warning] 2 positional arguments expected, but 3 found (/Users/srawlins/code/dart/dart/issue-11933.dart, line 5, col 12)
3 errors and 1 warning found.

This patch reduces it to one error per argument list:

Analyzing [issue-11933.dart]...
[error] Expected an identifier (/Users/srawlins/code/dart/dart/issue-11933.dart, line 4, col 15)
[error] Expected an identifier (/Users/srawlins/code/dart/dart/issue-11933.dart, line 5, col 30)
2 errors found.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//444273002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39811 260f80e4-7a28-3924-810f-c04153c831b5
Updates third_party/android_tools.

This is to pull down the ndk's arm64 compiler.

R=regis@google.com

Review URL: https://codereview.chromium.org//536563004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39812 260f80e4-7a28-3924-810f-c04153c831b5
Enable await in more statements.

Properly parse await in if, else if, switch, and return.

BUG=
R=hausner@google.com

Review URL: https://codereview.chromium.org//537623002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39813 260f80e4-7a28-3924-810f-c04153c831b5
Merge analysis_testing package into analysis_server.

Note that analysis_server already contains a file test/mocks.dart, so
the mocks.dart file from analysis_testing has been imported as
test/mocks2.dart.  I will merge these two into a single file in a
future CL.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//533243002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39814 260f80e4-7a28-3924-810f-c04153c831b5
- Make Parser::ReceiverType an instance method so that it has access to 'I'
- Minor changes to avoid handle creation.
- Fix snapshot version check error message.

R=srdjan@google.com

Review URL: https://codereview.chromium.org//516303006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39815 260f80e4-7a28-3924-810f-c04153c831b5
Integrate INLINE_METHOD into the server.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//538583002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39816 260f80e4-7a28-3924-810f-c04153c831b5
Replicate mock_sdk.dart in analyzer2dart package.

This allows analyzer2dart tests to continue passing without needing to
refer to the analysis_server package.

TBR=scheglov@google.com

Review URL: https://codereview.chromium.org//535293002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39817 260f80e4-7a28-3924-810f-c04153c831b5
Fix build break (forgot this file in the previous CL).

Review URL: https://codereview.chromium.org//535303002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39818 260f80e4-7a28-3924-810f-c04153c831b5
Add reporting of infinite loops

R=danrubel@google.com

Review URL: https://codereview.chromium.org//533103004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39819 260f80e4-7a28-3924-810f-c04153c831b5
Use unit + offset as 'Inline Local' arguments.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//533273003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39821 260f80e4-7a28-3924-810f-c04153c831b5