Commit graph

66234 commits

Author SHA1 Message Date
Martin Kustermann
69b7082290 [vm] Remove left-over code from unevaluated constants.
Change-Id: Ife7e6678aabcbd7152d6d77757226c0dc3161ff6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114855
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2019-08-28 16:28:23 +00:00
Alexander Thomas
1438a68034 [infra] Bump version to 2.6
Change-Id: I978f48c6eb2f9a14961c0f6710d47cf1bb00f17d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114863
Reviewed-by: William Hesse <whesse@google.com>
2019-08-28 16:26:33 +00:00
Alexander Markov
820a3a3da0 Enable service tests on dartkb bots in bytecode compiler mode
Change-Id: I33a2984899c89b07da9bbc6d4e7c363f40f185f9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112486
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-08-28 16:16:33 +00:00
Nicholas Shahan
631750233c [dartdevc] Update comments for FunctionType and add an explicit type
Change-Id: Ic72f623b5855f2f50705e55d36ef3315062141ea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113482
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2019-08-28 16:02:13 +00:00
Konstantin Shcheglov
cb934a0402 Build types for function type type parameter bounds.
R=brianwilkerson@google.com

Change-Id: Ied38fda4d1671a9e706bffe8bcf16d953c8c973e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114760
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2019-08-28 15:57:23 +00:00
Konstantin Shcheglov
0c06fbd88f Read default values fully.
R=brianwilkerson@google.com

Change-Id: I336fa6a9d92687ebcb67eb672dabab64f75fcb43
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114780
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2019-08-28 15:15:23 +00:00
Konstantin Shcheglov
97561f78d9 Make sure that summary1 test suites run at least one test when summary2 is enabled.
This is necessary in google3, to don't fail because "No tests ran."

R=brianwilkerson@google.com

Change-Id: I8a91220c1f60dfb32a7a6f708342f4fc328ac8b6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114820
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2019-08-28 15:09:03 +00:00
Paul Berry
70a5794760 Migration: Add support for dynamic to DecoratedType._substitute.
Should address 164 migration tool exceptions with this line in their
stacktrace:

DecoratedType._substitute (package:nnbd_migration/src/decorated_type.dart:406:5)

Change-Id: I03ff6a27f94e02f914ca88ae1371affcfb63c101
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114620
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2019-08-28 14:36:53 +00:00
Johnni Winther
999007453a [cfe] Use ExpressionInferenceResult as the main result in the inference visitor
This enables the correction of parent pointers for 'lying' parent pointers
(Judgments that contain nodes but who are not their parents). Long term this can
also be used to replace the slow .replaceChild calls with direct updates in the
visitor.

Change-Id: Ibee7efe815937288dea4dc76d524ef44760a7658
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114325
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
2019-08-28 14:26:33 +00:00
Vijay Menon
b37dd729ad Revert "Revert "Make package:expect NNBD agnostic""
Reland this CL.

Change-Id: I0e7684da01d417e76be44ce07a68a21d6a623b23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114635
Reviewed-by: Leaf Petersen <leafp@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
2019-08-28 14:02:11 +00:00
Martin Kustermann
28f692165e [vm] Improve error message from Dart_InvokeVMServiceMethod()
Change-Id: Ib7dad8a4e7fcc7ebb224bee848728e235f04459e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114508
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Clement Skau <cskau@google.com>
2019-08-28 13:18:52 +00:00
Jens Johansen
f278451729 [CFE/kernel] Spell check kernel too
Change-Id: I57c91a61a186d9334d7af189427e78bdcb156aa0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114849
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-08-28 13:02:51 +00:00
Jens Johansen
e1fe0bf65a [kernel] Delete unused transformations
Change-Id: Id661b878e42628013a942252597837697dc4bbc8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114846
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-08-28 11:11:22 +00:00
Jens Johansen
9613e15a50 [kernel] Delete old Coq stuff
This is unused. If this is something we want to do again at some point
we can revert this cl.

Change-Id: Ia54b4c31a39f88dfb8837cb70960650320511151
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114845
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-08-28 11:06:41 +00:00
Martin Kustermann
dfbb9083c6 [vm] Allow vm tests to import private platform libraries for testing purposes
Issue https://github.com/dart-lang/sdk/issues/36097

Change-Id: I1acec0b7c683ffa363e9b6f7056e76ea2f61d27d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114843
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2019-08-28 10:19:22 +00:00
Karl Klose
4b19400ba7 [infra] Remove non-essential test expectations from devc status files
Change-Id: If1d4550aab4465fbf2491a4411148d94f6a47273
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113987
Reviewed-by: Vijay Menon <vsm@google.com>
Commit-Queue: Karl Klose <karlklose@google.com>
2019-08-28 10:10:52 +00:00
Jens Johansen
020663cdbc [CFE] Refactor how we get access to BodyBuilder so we can inject a different one in tests
Change-Id: I6c81fe5a954607e1932affa34d844de10b20cb16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114510
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-08-28 10:07:12 +00:00
Jens Johansen
10f8a00e9f [CFE] Update language versioning implementation to conform with specification v1.3
In the feature specification v1.2 libraries in a package with a default
version wasn't allowed to specify a language version higher than that.
In v1.3 thats allowed as long as its below the sdk limit.

Change-Id: I85f5c36a9c9c427da03fc540f9175195134ad47f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114604
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-08-28 09:30:12 +00:00
Jens Johansen
8621e63190 [kernel/VM] cleanup unused dill tags
Change-Id: I76a3985abf7806f038cdb6971e526accd7cc20a4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114605
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-08-28 09:30:04 +00:00
Jens Johansen
72ff3495ec [CFE/kernel] Read dill from binary.md description
Change-Id: I99ac3f8f59afbe1f810586c217620b2343843b5b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114601
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2019-08-28 08:23:13 +00:00
Alexander Markov
5cbcc88304 [vm/bytecode] Add DebugCheck for variable set with as-expression RHS
This emulates behavior of AST-based flow graph builder which would
insert DebugStepCheck if RHS is LoadLocal.
As-expression generated by AST-based flow graph builder results
in LoadLocal (unless it's casting to a top type).

Fixes service/next_through_is_and_as_test with bytecode.

Change-Id: Icb809d42daf2a4ebbad22bfa92bc737406144489
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114740
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-08-28 02:27:03 +00:00
Alexander Markov
1017a562d7 [vm/bytecode] Fix crash while querying parameter descriptors for static implicit closure
Fixes https://github.com/dart-lang/sdk/issues/38035

Change-Id: Ib060a0b43ff0ca85d984642e9faca8fd966a1e62
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114634
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-08-28 02:26:33 +00:00
Mike Fairhurst
352dc749b1 [nnbd_migration] change implicit method parameters test to use edge matchers
Change-Id: I45a7762d493d3dad6cd163fecc96cd401eed3369
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114595
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
Auto-Submit: Mike Fairhurst <mfairhurst@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2019-08-28 02:18:03 +00:00
Ryan Macnak
0da7763bae [vm, gc] Fix racy access to the growth policy in ForceGrowthSafepointOperationScope.
Compare 6653611ae4

Bug: b/139666100
Change-Id: I9828ed08ae49062dbe77483c6c2e2218682ab213
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114722
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2019-08-28 01:38:53 +00:00
danrubel
7b37cddbe8 rename ClassKind to DeclarationKind
... and add DeclarationKind.TopLevel

Change-Id: I631c0173a056e856845f02d4415c11336a796e3c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114629
Commit-Queue: Dan Rubel <danrubel@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2019-08-28 00:57:42 +00:00
danrubel
52e732b786 fix constructor in extension error
This changes EXTENSION_DECLARES_CONSTRUCTOR to be a parser error
and moves it into the parser so that it is generated for all of CFE.

See https://github.com/dart-lang/sdk/issues/37945

Change-Id: Iecaf277c63d7791a4b7ac9e6583b5018821d2c18
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114626
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2019-08-28 00:57:42 +00:00
Alexander Markov
1765a19b03 [Test tool] Pass bytecode option to generate debugger stops
In order to test debugger functionality on vm-dartkb-*-simarm64 bots
we need to pass 'debugger-stops' bytecode generation option to kernel
compiler.

We don't have debugger functionality in PRODUCT mode, so 'debugger-stops'
(and 'local-var-info') are omitted.

Change-Id: I6453f9277862816d127e68f802cfe8db1e4b6c64
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114720
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-08-28 00:24:32 +00:00
Aart Bik
451a7dd4ea [vm/assembler] Add IMUL with implicit operands
Rationale:
Needed for an upcoming improvement of DIV/MOD by constant.

https://github.com/dart-lang/sdk/issues/37789

Change-Id: I3966049a3f14fd3becec797c4bc0038f2852bc1b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114680
Commit-Queue: Aart Bik <ajcbik@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2019-08-28 00:17:13 +00:00
Ryan Macnak
040fdf22c5 [vm, gc] Run old space GC when the allocation limit is crossed during NotifyIdle, even if it would exceed the idle deadline.
If a program is allocating only in new space, and scavenges are happening only at idle time, this is the only check preventing unbounded growth in old space.

Bug: b/139666100
Bug: https://github.com/dart-lang/sdk/issues/33314
Change-Id: Ib20369e43e288b1056fc220e6cb895f6f3158d6f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114721
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-08-27 23:19:42 +00:00
Régis Crelier
726762c4bd [vm/bytecode] Remove source information from setAsyncThreadStackTrace in prolog.
Removing source information for this call prevents the debugger to set a
breakpoint in compiled bytecode on this call which occurs prior to the first
DebugStepCheck in the function.

However, this change uncovered a bug in debugging interpreted bytecode:
The first source range of an async_op function gets split into 3 ranges, with
the middle range specifying a NoSource token position. The debugger does not
set a breakpoint in the first range, because DebugCheck is not yet encountered,
which is correct, but it failed to look for another range (the 3rd one) with the
same token position.

Change-Id: I11dcc75d115cb57b37f62afd83c783cf563b63e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114700
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Régis Crelier <regis@google.com>
2019-08-27 22:45:52 +00:00
Mike Fairhurst
fee3fffc59 [nnbd_migration] handle prefixes
Change-Id: I35109993a2356647f24fe8674582dc5cb20f2829
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114590
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2019-08-27 22:37:12 +00:00
Brian Wilkerson
91400d6422 Guard against an NPE when computing completions (issue 38006)
Change-Id: Ica0a9cf3eecd765db8e9ebaab560f59275f3c345
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114622
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2019-08-27 21:21:53 +00:00
Mike Fairhurst
a28fcb59bf [nnbd_migration] handle dynamic property access
Change-Id: I7227a084fdb8754cb43b861ef60f44c363141137
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114625
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
2019-08-27 21:13:42 +00:00
Paul Berry
21021651a0 Migration: rework edge builder tests to reduce boilerplate.
Introduce a notion of a "node matcher" which abstacts knowledge of how
to match certain kinds of nullability nodes.  This significantly
simplifies the tests of substitution nodes; instead of digging through
the graph to find the substitution node, asserting that it is a
substitution node, and then asserting that it has the right form, we
can simply use the existing `assertEdge` method to assert that an edge
exists with the appropriate kind of substitution node as either its
source or destination.

Change-Id: I1a483f18669fd0cf8075deb60e61a1930a40c4f9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114630
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Mike Fairhurst <mfairhurst@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2019-08-27 21:04:16 +00:00
Paul Berry
5f5d44c4dd Migration: sort declarations in migration_visitor_test_base.dart.
No functional change.

Change-Id: I5de50088ae75fcc95fc5bbaef7c041faeeae2336
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114628
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2019-08-27 21:04:16 +00:00
Konstantin Shcheglov
3604f75cd4 Gracefully degrade if annotation uses (non-serializable) FunctionExpression.
R=brianwilkerson@google.com

Change-Id: Id0e18d14252a4140f085e1c609e59ef9ae40fb5f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114624
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2019-08-27 20:47:57 +00:00
Mike Fairhurst
c7fbf0dc35 [nnbd_migration] Handle method calls with inferred type arguments
Change-Id: I8a20236d8b039c7538e4538a4818905cf7ee06b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114581
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Mike Fairhurst <mfairhurst@google.com>
2019-08-27 20:44:36 +00:00
Vijay Menon
9b23c483ba Revert "Make package:expect NNBD agnostic"
This reverts commit 10c212f910.  This is breaking on mirrors_reader_test.dart
in the VM on debug mode.

TBR=leafp,asiva

Change-Id: I71f1d78c2e1ca800584438b161c89115cd46d644
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114627
Reviewed-by: Vijay Menon <vsm@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
2019-08-27 20:39:52 +00:00
Ryan Macnak
2bc0f49c00 [vm, gc] Add timeline event for growth policy updates.
Change-Id: If20f19606b73b70071b93909093cf024c387e971
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114561
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-08-27 18:46:23 +00:00
Ben Konyi
86ad613bf7 [vm/fuzzer] Enable package:pedantic analysis options
Change-Id: I2a1bf49f614a127c00f441f58d2eb687421a0314
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114566
Reviewed-by: Aart Bik <ajcbik@google.com>
2019-08-27 18:37:07 +00:00
danrubel
0328e8a7b6 sort ForwardingListener and ForwardingTestListener
Change-Id: Ib94c0c57acb8e3e4271e51205511aee4f087f3fc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114641
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2019-08-27 17:54:52 +00:00
danrubel
aeb5e732fd split endClass/Mixin/ExtensionFactoryMethod event
This separates an existing parser event into 3 separate events
based upon the enclosing declaration so that listeners
can process them differently in future CLs.

Also address comment in https://dart-review.googlesource.com/c/sdk/+/114564

Change-Id: I07b259d02bd16257edf47eb76cbdd0d022f808dd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114640
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2019-08-27 17:54:52 +00:00
abykov2
e5b0ff494b Adding an offset field to TokenDetails to return token offset as part of listTokenDetails
Closes #38013
https://github.com/dart-lang/sdk/pull/38013

GitOrigin-RevId: f384b20a96950238a50a95420b264100de5bbbe4
Change-Id: Iabca2d4ac89f07424439ab5bba2156860aab2c81
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114587
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Alex Bykov <abykov@google.com>
2019-08-27 17:52:38 +00:00
Konstantin Shcheglov
35f8a8bf00 Gracefully degrade when FunctionTypeAlias uses FieldFormalParameter.
R=brianwilkerson@google.com

Change-Id: Ie2989000148b24f5c380043bbd7c034908f2846d
Bug: https://github.com/dart-lang/sdk/issues/37733
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114623
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2019-08-27 17:46:48 +00:00
Ryan Macnak
78bd2bbaca [test] Re-enable background compilation in debug mode.
Bug: https://github.com/dart-lang/sdk/issues/30016
Change-Id: Ifeba852c612f576d145b806779e64f4dc8079a72
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114464
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2019-08-27 17:20:17 +00:00
Alexander Markov
f2ab9478ee [vm/bytecode] Avoid extra DebugCheck in variable declaration
The extra DebugCheck is skipped depending on the initializer expression,
similarly to VariableSet.

This matches how AST-based flow graph builder inserts DebugStepCheck for
VariableDeclaration.

Test: runtime/observatory/tests/service/async_star_step_out_test.dart
Change-Id: Id1b11813b533996e219891f416e7008a994dbc51
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114593
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2019-08-27 16:52:17 +00:00
Vijay Menon
10c212f910 Make package:expect NNBD agnostic
Not sure this entirely a good goal, but this is attempt to make package:expect
NNBD-agnostic.  I.e., make the same code compile with or without the "non-nullable"
experiment enabled in order to avoid forking for tests.

I am still hitting two errors with NNBD - see comments.  They both appear to be
bugs with type promotion + NNBD.

Change-Id: Ibf444a20c484daa38fdb88b92a26c4acac833d1a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113924
Commit-Queue: Vijay Menon <vsm@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2019-08-27 16:04:07 +00:00
Parker Lougheed
d61daa79d3 Add more specific warnings to analyzer for @required on parameters
Deprecates the old HintCode and adds three new ones which clarify to
the user the problem with using @required on different types
of parameters.

Bug: https://github.com/dart-lang/sdk/issues/36966
Change-Id: I2245663537e88aeb15bcf14eb5913e54be98829d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102900
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2019-08-27 14:54:45 +00:00
Dan Rubel
f17d0563fa split class/mixin/extension member parsing
This change makes the parser more aware of what type of member
is being parsed so that proper error messages can be reported
for extension method members in future CLs.

Change-Id: I30002ad1a636b988e59b89d64ba4b0a8ae77c847
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114564
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2019-08-27 14:52:45 +00:00
Vijay Menon
d2ad7d1f91 [dartdevc] support compile-only/run-only on ddb tool
Note, there is already an option to specify a binary (-b).

Change-Id: I72bf8734e1919f3a6725a830aa96a54a5d0a6053
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/114589
Commit-Queue: Vijay Menon <vsm@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-08-27 14:23:55 +00:00