Roll engine, patch expression evaluation (#128255)
Roll to engine to 4f4486b00be28183b482bbb74bbed25f4db153fe pick up dart to 3.1.0-169.0.dev. Changes since last roll ``` 4f4486b00b Roll dart to 3.1.0-169.0.dev (#42602) ``` Manual roll since rolling to dart 3.1.0-169.0.dev requires patching to expression evaluation in flutter tools
This commit is contained in:
committed by
GitHub
parent
848d4f0e7e
commit
09c0706734
@@ -50,7 +50,7 @@ void main() {
|
||||
|
||||
testWithoutContext('compile expression fails if not previously compiled', () async {
|
||||
final CompilerOutput? result = await generator.compileExpression(
|
||||
'2+2', null, null, null, null, false);
|
||||
'2+2', null, null, null, null, null, null, null, null, false);
|
||||
|
||||
expect(result, isNull);
|
||||
});
|
||||
@@ -93,7 +93,7 @@ void main() {
|
||||
'result def\nline1\nline2\ndef\ndef /path/to/main.dart.dill.incremental 0\n'
|
||||
)));
|
||||
generator.compileExpression(
|
||||
'2+2', null, null, null, null, false).then(
|
||||
'2+2', null, null, null, null, null, null, null, null, false).then(
|
||||
(CompilerOutput? outputExpression) {
|
||||
expect(outputExpression, isNotNull);
|
||||
expect(outputExpression!.expressionData, <int>[1, 2, 3, 4]);
|
||||
@@ -142,7 +142,8 @@ void main() {
|
||||
// The test manages timing via completers.
|
||||
final Completer<bool> lastExpressionCompleted = Completer<bool>();
|
||||
unawaited(
|
||||
generator.compileExpression('0+1', null, null, null, null, false).then(
|
||||
generator.compileExpression('0+1', null, null, null, null, null, null,
|
||||
null, null, false).then(
|
||||
(CompilerOutput? outputExpression) {
|
||||
expect(outputExpression, isNotNull);
|
||||
expect(outputExpression!.expressionData, <int>[0, 1, 2, 3]);
|
||||
@@ -159,7 +160,8 @@ void main() {
|
||||
|
||||
// The test manages timing via completers.
|
||||
unawaited(
|
||||
generator.compileExpression('1+1', null, null, null, null, false).then(
|
||||
generator.compileExpression('1+1', null, null, null, null, null, null,
|
||||
null, null, false).then(
|
||||
(CompilerOutput? outputExpression) {
|
||||
expect(outputExpression, isNotNull);
|
||||
expect(outputExpression!.expressionData, <int>[4, 5, 6, 7]);
|
||||
|
||||
Reference in New Issue
Block a user