Aske Simon Christensen
22718f4d60
[CFE] Always call the constant evaluator by the evaluate method.
...
Reland of https://dart-review.googlesource.com/c/sdk/+/96321
Change-Id: Ifb2b955d500c18a470503bad9f62f47e4c6a1fc5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97117
Commit-Queue: Aske Simon Christensen <askesc@google.com >
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2019-03-18 15:42:05 +00:00
Aske Simon Christensen
c10ee9971f
[CFE] Move constant evaluator to Fasta.
...
Reland of https://dart-review.googlesource.com/c/sdk/+/96081
Change-Id: Ie9e6a0d26703469396fa6ea4803f49ce387f495b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97224
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2019-03-18 15:42:05 +00:00
Terry Lucas
ae72776312
New DomExceptions added to browsers.
...
These new exceptions have no legacy values.
DataCloneError - The object can not be cloned.
EncodingError - The encoding or decoding operation failed.
NotReadableError - The input/output read operation failed
UnknownError - The operation failed for an unknown transient reason (e.g. out of memory).
ConstraintError - A mutation operation in a transaction failed because a constraint was not satisfied.
DataError - Provided data is inadequate.
TransactionInactiveError - A request was placed against a transaction which is currently not active, or which is finished.
ReadOnlyError - The mutating operation was attempted in a "readonly" transaction.
VersionError An attempt was made to open a database using a lower version than the existing version.
OperationError - The operation failed for an operation-specific reason.
NotAllowedError - The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
R=vsm@google.com
Change-Id: I1245bc788fd287d566f42184ebe914165afa95ac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97163
Reviewed-by: Vijay Menon <vsm@google.com >
Commit-Queue: Terry Lucas <terry@google.com >
2019-03-18 15:18:25 +00:00
Sigurd Meldgaard
9d3988eb67
[vm] First stab at a protobuf aware treeshaker
...
Relies on https://dart-review.googlesource.com/c/sdk/+/96782
Change-Id: I820e884f96923f9eb9a856faef6442f6ed645fe1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96162
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2019-03-18 13:07:44 +00:00
Aske Simon Christensen
e62391a162
Revert "Handle ir constants in field analysis and impact tests"
...
This reverts commit 0cd89e5bd1 .
Reason for revert: Conflicts with move of constant evaluator.
Original change's description:
> Handle ir constants in field analysis and impact tests
>
> Include initial handling of unevaluated constants from environment.
>
> Change-Id: Ibd330a14dfabad1dee95b64ce7015939412374d3
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97112
> Commit-Queue: Johnni Winther <johnniwinther@google.com >
> Reviewed-by: Sigmund Cherem <sigmund@google.com >
TBR=johnniwinther@google.com ,sigmund@google.com
Change-Id: Ie01c7dda6152abbf852cd40a00597f019db49e66
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97116
Reviewed-by: Aske Simon Christensen <askesc@google.com >
Commit-Queue: Aske Simon Christensen <askesc@google.com >
2019-03-18 13:01:11 +00:00
William Hesse
3b2e368376
Revert 5 changes with failures
...
TBR=askesc@google.com
Revert "[CFE] Move constant evaluator to Fasta."
This reverts commit 845b5b2df1 .
Revert "[CFE] Always call the constant evaluator by the evaluate method."
This reverts commit 91bc4ec2b9 .
Revert "[CFE] Use Fasta diagnostics in the constant evaluator."
This reverts commit c7b572aa29 .
Revert "[CFE] Check for null in constant evaluation"
This reverts commit e6d2751e9c .
Revert "Rename import after moving file."
This reverts commit a6e2c5eb4c .
Change-Id: Iadfe087c0110f6f331b82d990213f95d3ef4541b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97223
Reviewed-by: William Hesse <whesse@google.com >
2019-03-18 12:25:32 +00:00
William Hesse
a6e2c5eb4c
Rename import after moving file.
...
Fixes error in commit of
https://dart-review.googlesource.com/c/sdk/+/96081
Change-Id: I628de76467ef8696f1c83d919c00821ccedfb852
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97222
Reviewed-by: William Hesse <whesse@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2019-03-18 12:11:42 +00:00
Aske Simon Christensen
e6d2751e9c
[CFE] Check for null in constant evaluation
...
Change-Id: Iecd63572a29d605bb48dd79f9cd07f135bc6fc68
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95520
Commit-Queue: Aske Simon Christensen <askesc@google.com >
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2019-03-18 10:42:14 +00:00
Aske Simon Christensen
c7b572aa29
[CFE] Use Fasta diagnostics in the constant evaluator.
...
The constant evaluator now generates all errors as Fasta diagnostic
messages. The ErrorReporter is simplified to just accept a diagnostic
message, or a notification that the constant evaluator encountered an
invalid expression (presumably put there due to an earlier error).
Also, the flow of control between the error reporter and the internal
abort exceptions is reversed, so the error reporter is now called as a
result of an abort exception being caught by the evaluate method.
Change-Id: I66f148cc4e202e328f895ae0b770f9b68c9f3c8e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96300
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2019-03-18 10:42:14 +00:00
Aske Simon Christensen
91bc4ec2b9
[CFE] Always call the constant evaluator by the evaluate method.
...
Change-Id: I176139c98e968cd890a05c0517781f8fad4a0d7d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96321
Reviewed-by: Jenny Messerly <jmesserly@google.com >
2019-03-18 10:42:14 +00:00
Aske Simon Christensen
845b5b2df1
[CFE] Move constant evaluator to Fasta.
...
This is in preparation for recognizing Fasta-specific nodes in the
constant evaluator, and for using the Fasta diagnostics framework.
Change-Id: I8535fbb68e622f1814a1d577c348d87e573b6b34
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96081
Reviewed-by: Kevin Millikin <kmillikin@google.com >
2019-03-18 10:42:14 +00:00
Johnni Winther
0cd89e5bd1
Handle ir constants in field analysis and impact tests
...
Include initial handling of unevaluated constants from environment.
Change-Id: Ibd330a14dfabad1dee95b64ce7015939412374d3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97112
Commit-Queue: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-03-18 10:30:04 +00:00
Mark Zhou
eeb8fc8ccd
[dartdevc] Adding support for async operations in block expressions
...
Moving YieldFinder to shared_compiler
Change-Id: Id4d95447443929376f922005e10f66930630dfaf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97040
Reviewed-by: Jenny Messerly <jmesserly@google.com >
Reviewed-by: Nicholas Shahan <nshahan@google.com >
Commit-Queue: Mark Zhou <markzipan@google.com >
2019-03-17 22:03:22 +00:00
Brian Wilkerson
d7ad6b8c67
Ensure that all tests are run via test_all and add a test to ensure that it stays that way
...
Change-Id: I4a531179823a985f14307cbd444b31605d453d23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97161
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-03-17 19:21:12 +00:00
Konstantin Shcheglov
daa6ee6da9
Report NOT_ITERABLE_SPREAD and NOT_MAP_SPREAD.
...
R=brianwilkerson@google.com
Change-Id: I6668787b5b88d5125852e38bd9d30010e36c354b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97160
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-03-17 17:27:03 +00:00
Konstantin Shcheglov
d920a2a5ab
Report NON_CONSTANT_XYZ in not taken branches of IfElement.
...
R=brianwilkerson@google.com
Change-Id: I27e8a3b99140046399cdcc8daaa7ecc28ffa62df
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97010
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-03-16 22:43:34 +00:00
Brian Wilkerson
976b897bd0
Report non-bool conditions in const expressions in evaluation
...
Change-Id: I6c0297ba6d06f0487b3419037109517479b1b794
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97124
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-03-16 18:52:11 +00:00
Konstantin Shcheglov
1d9f34963e
Use StoreBasedSummaryResynthesizer directly in LibraryContext.
...
R=brianwilkerson@google.com
Change-Id: I29583bf4f63bf47b54982688d0f10df02745f7fe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97009
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-03-16 18:22:41 +00:00
Brian Wilkerson
43a31ff24e
Report equal keys in maps when the keys come from a spread element
...
Change-Id: I92106a53c2e1752e1ffb1073e124268a692e5905
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97146
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-03-16 15:21:01 +00:00
Konstantin Shcheglov
0d5ab9380a
Add getNotPotentiallyConstants() and isConstantTypeExpression().
...
R=brianwilkerson@google.com , paulberry@google.com
Change-Id: I1db7d336f71d307274917d49f8f414217e62dd16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97005
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-03-16 03:11:52 +00:00
Konstantin Shcheglov
cc1ddfb337
Issue 36212. Fix for updated part without library.
...
R=brianwilkerson@google.com
Bug: https://github.com/dart-lang/sdk/issues/36212
Change-Id: Ib0c43685c0b9f167591232d384a7fc5e426c07d5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97007
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-03-16 02:13:12 +00:00
Konstantin Shcheglov
d597166f9b
Remove Dart tasks and work manager.
...
R=brianwilkerson@google.com
Change-Id: I5aaaa0ea5051b4ae639457d260486dbc973abcd9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97140
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-03-16 00:49:22 +00:00
Jenny Messerly
68bfd72e44
[dartdevc] fix #36174 , add flutter inspector transform to DDC
...
This is a temporary workaround to copy this file into DDC, based on
jacobr@'s suggestion. I tried to keep changes minimal.
Eventually this transform should be injected when Flutter SDK builds
DDC, rather than including it here. The transform is guarded behind
a flag, so build runner can decide whether to pass it (for now, it
could be hardcoded).
Change-Id: Id9d36456a726e6abb46b904321bc31db136d1c2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97022
Commit-Queue: Jenny Messerly <jmesserly@google.com >
Reviewed-by: Jake Macdonald <jakemac@google.com >
Reviewed-by: Jacob Richman <jacobr@google.com >
Auto-Submit: Jenny Messerly <jmesserly@google.com >
2019-03-16 00:30:02 +00:00
Paul Berry
b9ce1496f1
Sort declarations in expr_builder_test.dart
...
Change-Id: Ib6bf858e5f13385031152a189a05294829de76d9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96990
Commit-Queue: Paul Berry <paulberry@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Auto-Submit: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2019-03-15 22:53:05 +00:00
Nate Bosch
8475338d58
Remove references to non-existent Resource type
...
These getters are unused and the type does not exist in `dart:core`.
Change-Id: Ib22e47a07cde454dd60ea713a6813e908b7b65b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97123
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Nate Bosch <nbosch@google.com >
2019-03-15 22:41:55 +00:00
Liam Appelbe
724d956fd4
Move use_abi_version from vm directory to bin
...
I need to access the flag in bin/main.cc, so it can't be in the vm directory
Bug: https://github.com/dart-lang/sdk/issues/36047
Change-Id: Ib19a1b4d89295449b25f7753b2a39f6232c004e3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97122
Commit-Queue: Liam Appelbe <liama@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-03-15 22:35:25 +00:00
Paul Berry
44753660ec
Prepare to publish analyzer 0.35.4
...
Change-Id: I265b0d0bf970f3962a66689895e7dd640fea91a1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97006
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-03-15 22:33:45 +00:00
Johnni Winther
7a2949521d
Handle ConstantExpression in ssa and kernel impact
...
The ssa builder now also fails if we have any unhandled nodes.
Change-Id: Ieaaa6a86edcc3ead0a46c70c2e513c1fe581aee8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97102
Commit-Queue: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-03-15 21:52:25 +00:00
Stephen Adams
7a90563ee3
[js_runtime] Try to avoid String.prototype.replace with replacement patterns
...
Change-Id: I4b063fe77592bbb0ad9f6ffb628c3bdd6323b20c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96220
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Jenny Messerly <jmesserly@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2019-03-15 21:51:15 +00:00
Alexander Aprelev
3dda726bca
[gardening] Update flutter patch to reflect engine roll.
...
Change-Id: I26a92c1e2be6219fad675b6945add13e8eab7fdf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97141
Reviewed-by: Alexander Aprelev <aam@google.com >
2019-03-15 21:33:40 +00:00
Martin Kustermann
d445d29fa3
[VM] Define layout of _*ArrayView/_ByteDataView in C+++
...
This removes the 3 fields from the classes in Dart and instead describes
the layout in C++ via a RawTypedDataView class (as already do with
normal RawTypedData). The existing "semi" TypedDataView handle class is
changed to be a real handle class.
This decreases performance of some microbenchmarks due to field guards
not being used anymore (before the JIT could add a field guard to view classes
guarding that only normal typed data is used as backing store (and not e.g. external
typed data)
Issue https://github.com/dart-lang/sdk/issues/35154
Issue https://github.com/dart-lang/sdk/issues/31954
Change-Id: I7a0022b843a4c0fa69f53dedcc4c7bd2117cdc37
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96806
Commit-Queue: Martin Kustermann <kustermann@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-03-15 21:24:15 +00:00
Jacob MacDonald
d267fb6bf3
change the SummaryTarget to extend the DevCompilerTarget
...
Change-Id: I2ebd09e35b8ba8a254a318103102d33291f006a3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97003
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Jake Macdonald <jakemac@google.com >
2019-03-15 20:50:25 +00:00
Bob Nystrom
626cb68ad2
More spread test fixes.
...
Change-Id: I87ff7f75cbe10598f831fb969ad04ba612bd4b0c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97004
Auto-Submit: Bob Nystrom <rnystrom@google.com >
Reviewed-by: Mark Zhou <markzipan@google.com >
Commit-Queue: Bob Nystrom <rnystrom@google.com >
2019-03-15 20:48:55 +00:00
Johnni Winther
eb6f1b6abd
Handle effectively constant fields in class stub generator
...
Closes #36222
Change-Id: Ic8b7a3963e1364903b4b2d7871ff0b12cb134572
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97082
Commit-Queue: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-03-15 20:15:25 +00:00
Kevin Moore
efe9366eeb
Remove references to pkg:plugin in DEPS and .packages
...
Fixes https://github.com/dart-lang/sdk/issues/36221
Change-Id: Ic804d223c4dbbb82bb9f8d448fc209d37c79da39
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97044
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Kevin Moore <kevmoo@google.com >
2019-03-15 20:03:45 +00:00
Brian Wilkerson
43c13284e4
Revert "Reland "Add hints to check the SDK constraints for both set literals and for the ui-as-code features""
...
This reverts commit 75679e06c2 .
Reason for revert: Missed the SDK constraint in one place (or a set literal was added).
Original change's description:
> Reland "Add hints to check the SDK constraints for both set literals and for the ui-as-code features"
>
> This is a reland of 5fdb3c5057
>
> Original change's description:
> > Add hints to check the SDK constraints for both set literals and for the ui-as-code features
> >
> > Change-Id: I1046e57304d56e6d7f088ea1a8a054318a45ac37
> > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96837
> > Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
> > Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
>
> Change-Id: Ic2fd6d4ad82b6882e20373d224177ea8ebc4685b
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97121
> Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
> Reviewed-by: Paul Berry <paulberry@google.com >
> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
TBR=paulberry@google.com ,scheglov@google.com ,brianwilkerson@google.com
Change-Id: I27c980cc5ed352b13c7510df55c704f7a6622837
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97046
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-03-15 19:54:26 +00:00
Alexander Markov
d1085e80be
[vm] Add data field to TypedData
...
This is the first step towards unification of TypedData and
ExternalTypedData.
Issue: https://github.com/dart-lang/sdk/issues/34796
Change-Id: I8aec72030e251f9cd9f00fc5073f8e42b83a8d17
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/79430
Commit-Queue: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
Reviewed-by: Ryan Macnak <rmacnak@google.com >
2019-03-15 19:47:45 +00:00
Alexander Markov
d53311866f
[vm/bytecode] Support native methods in BytecodeFlowGraphBuilder
...
Change-Id: I7cd08a36a738c9c74a5c44854b60160484cb9f2f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96989
Commit-Queue: Alexander Markov <alexmarkov@google.com >
Auto-Submit: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Aart Bik <ajcbik@google.com >
2019-03-15 19:17:48 +00:00
Alexander Markov
06eeeec92e
[tests] Remove obsolete VM option --error-on-bad-type from tests
...
Change-Id: I1ab76f5a86dc53bfa22bd350e6a7aca477c58947
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97043
Auto-Submit: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Régis Crelier <regis@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2019-03-15 18:19:55 +00:00
Aart Bik
0a42e8e062
[dart/vm] fix potential buffer overrun in unicode utils
...
Rationale:
Found by libFuzzer, calling into Utf16::Encode should
ensure sufficient output buffer is available since
it accesses two uint16_t words.
https://github.com/dart-lang/sdk/issues/36235
Change-Id: I14733b0b059f9d710e022b02d143e42c8b5f91e3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97042
Reviewed-by: Alexander Markov <alexmarkov@google.com >
Commit-Queue: Aart Bik <ajcbik@google.com >
2019-03-15 18:18:15 +00:00
Sigmund Cherem
74a23b96b0
Add support for dart2js targets to kernel_worker
...
This includes a `--target` flag (that in the future we can use for other targets
too) and a flag to accept the libraries.json file (currently needed to properly
compute constants of the form `bool.fromEnvironment('dart.library.io')`.
Change-Id: I8beea48610f0e1e721b7c76e545c9f662e3255ad
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96849
Commit-Queue: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Jake Macdonald <jakemac@google.com >
2019-03-15 18:02:10 +00:00
Stephen Adams
9b185051a9
Don't use lazy static initializer in Random.secure()
...
The lazy static initializer returns null after throwing on the first use.
Change-Id: I44fbb6f8af263dc5c813ed5dff2291fb27e48b4e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96984
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2019-03-15 17:45:06 +00:00
Brian Wilkerson
75679e06c2
Reland "Add hints to check the SDK constraints for both set literals and for the ui-as-code features"
...
This is a reland of 5fdb3c5057
Original change's description:
> Add hints to check the SDK constraints for both set literals and for the ui-as-code features
>
> Change-Id: I1046e57304d56e6d7f088ea1a8a054318a45ac37
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96837
> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
> Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Change-Id: Ic2fd6d4ad82b6882e20373d224177ea8ebc4685b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97121
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-03-15 17:38:15 +00:00
Brian Wilkerson
7f8eed0862
Update the partial constant evaluator to handle a limited subset of map literals in unresolved code
...
Change-Id: I1f37dd57628912b971f5323432b19f9ca272c675
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97021
Reviewed-by: Paul Berry <paulberry@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-03-15 16:11:15 +00:00
Paul Berry
02ffcb8f42
Add summary support for if elements.
...
Change-Id: I32582b9608bcf92cabfac94e1d796036198818a5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97023
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2019-03-15 15:39:25 +00:00
Samir Jindel
025825dc0f
[vm] Update ffi status files and fix function_stress_test on Windows.
...
Issues fixed: dartbug.com/35933, dartbug.com/35935 and datbug.com/36138.
Change-Id: I4a057951abf9a022a3fc7a63e85a32e8fae22a58
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97105
Reviewed-by: Daco Harkes <dacoharkes@google.com >
Commit-Queue: Samir Jindel <sjindel@google.com >
2019-03-15 15:11:20 +00:00
Daco Harkes
638f13ff3d
Revert "[ VM / dart:isolate ] Added ability to set names for spawned isolates."
...
This reverts commit 59525264e8 .
Reason for revert: causes Flutter test observatory and protocol to deadlock.
Issue: https://github.com/dart-lang/sdk/issues/36232
Original change's description:
> [ VM / dart:isolate ] Added ability to set names for spawned isolates.
>
> Fixes issue #34059
>
> Change-Id: I315498b02edc184e9e408c93eddb78aa1a5a8a1d
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/90341
> Commit-Queue: Ben Konyi <bkonyi@google.com >
> Reviewed-by: Sigmund Cherem <sigmund@google.com >
> Reviewed-by: Ryan Macnak <rmacnak@google.com >
TBR=bkonyi@google.com ,rmacnak@google.com ,asiva@google.com ,sigmund@google.com
Change-Id: I5f2115a2ac394a8d4c7c175bc97f2b88b65fcb49
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97107
Reviewed-by: Daco Harkes <dacoharkes@google.com >
Commit-Queue: Daco Harkes <dacoharkes@google.com >
2019-03-15 14:40:37 +00:00
Konstantin Shcheglov
af633531ab
Report key/value type mismatch.
...
R=brianwilkerson@google.com
Change-Id: If4d4710228935816b98d1250f73b2c1fc600be56
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97061
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2019-03-15 14:18:34 +00:00
Brian Wilkerson
8e550f6a4c
Support super completions from superclass constraints in a mixin
...
Change-Id: Iea4a540989113be85abf98f69cb63843da310a15
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97020
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2019-03-15 13:21:54 +00:00
Paul Berry
b216335e69
Add summary support for spread elements.
...
Change-Id: I5c306225aacca997ef104e7a2b18001dab38201d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96966
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
2019-03-15 12:53:44 +00:00