[modular_aot] Fix number of optional named parameters when reading function types from module snapshot
TEST=ci Issue: https://github.com/dart-lang/sdk/issues/61635 Change-Id: Iaa38ca6c62f9899d2c3f0363c484dbe15e0a9859 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/509523 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Slava Egorov <vegorov@google.com>
This commit is contained in:
committed by
dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
ea1360fbaf
commit
7df4ef0cf1
@@ -428,8 +428,9 @@ class WrapperConstant extends ast.AuxiliaryConstant {
|
||||
void visitChildren(ast.Visitor v) => throw 'Should not be called.';
|
||||
|
||||
@override
|
||||
void toTextInternal(ast_printer.AstPrinter printer) =>
|
||||
throw 'Should not be called.';
|
||||
void toTextInternal(ast_printer.AstPrinter printer) {
|
||||
printer.write('WrapperConstant(${unwrap})');
|
||||
}
|
||||
|
||||
@override
|
||||
ast.DartType getType(ast_type_environment.StaticTypeContext context) =>
|
||||
|
||||
Reference in New Issue
Block a user