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
@@ -392,9 +392,13 @@ class FlutterPlatform extends PlatformPlugin {
|
||||
String isolateId,
|
||||
String expression,
|
||||
List<String> definitions,
|
||||
List<String> definitionTypes,
|
||||
List<String> typeDefinitions,
|
||||
List<String> typeBounds,
|
||||
List<String> typeDefaults,
|
||||
String libraryUri,
|
||||
String? klass,
|
||||
String? method,
|
||||
bool isStatic,
|
||||
) async {
|
||||
if (compiler == null || compiler!.compiler == null) {
|
||||
@@ -402,7 +406,8 @@ class FlutterPlatform extends PlatformPlugin {
|
||||
}
|
||||
final CompilerOutput? compilerOutput =
|
||||
await compiler!.compiler!.compileExpression(expression, definitions,
|
||||
typeDefinitions, libraryUri, klass, isStatic);
|
||||
definitionTypes, typeDefinitions, typeBounds, typeDefaults, libraryUri,
|
||||
klass, method, isStatic);
|
||||
if (compilerOutput != null && compilerOutput.expressionData != null) {
|
||||
return base64.encode(compilerOutput.expressionData!);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user