| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index 55afac151ad4bded0838a3123d0c5a8ec8760e1a..e82203807a3c01e6027dfe06343dc00cc984bf43 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -1535,6 +1535,11 @@ RawError* Compiler::CompileAllFunctions(const Class& cls) {
|
| if (!func.HasCode() &&
|
| !func.is_abstract() &&
|
| !func.IsRedirectingFactory()) {
|
| + if ((cls.is_mixin_app_alias() || cls.IsMixinApplication()) &&
|
| + func.HasOptionalParameters()) {
|
| + // Skipping optional parameters in mixin application.
|
| + continue;
|
| + }
|
| error = CompileFunction(thread, func);
|
| if (!error.IsNull()) {
|
| return error.raw();
|
|
|