| Index: runtime/vm/object.cc
|
| ===================================================================
|
| --- runtime/vm/object.cc (revision 11702)
|
| +++ runtime/vm/object.cc (working copy)
|
| @@ -3950,7 +3950,9 @@
|
| return 2; // Instance, phase.
|
| }
|
| }
|
| - if (!is_static() && (kind() != RawFunction::kClosureFunction)) {
|
| + if (!is_static() &&
|
| + kind() != RawFunction::kClosureFunction &&
|
| + kind() != RawFunction::kSignatureFunction) {
|
| // Closure functions defined inside instance (i.e. non-static) functions are
|
| // marked as non-static, but they do not have a receiver.
|
| return 1; // Receiver.
|
|
|