| Index: tools/dom/scripts/systemhtml.py
|
| diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
|
| index 30749cc4c009d69546d8e238b0419e72a40e3dcc..b8409e99efa8233584c55a56964159e283e13b63 100644
|
| --- a/tools/dom/scripts/systemhtml.py
|
| +++ b/tools/dom/scripts/systemhtml.py
|
| @@ -1085,7 +1085,7 @@ class Dart2JSBackend(HtmlDartGenerator):
|
| operations,
|
| declaration,
|
| GenerateCall,
|
| - lambda _, argument: IsOptional(argument),
|
| + IsOptional,
|
| can_omit_type_check=lambda type, pos: type == parameter_types[pos])
|
|
|
| def _AddInterfaceOperation(self, info, html_name):
|
|
|