Chromium Code Reviews| Index: runtime/vm/parser.cc |
| =================================================================== |
| --- runtime/vm/parser.cc (revision 25677) |
| +++ runtime/vm/parser.cc (working copy) |
| @@ -5369,6 +5369,10 @@ |
| function_type.set_malformed_error(error); |
| } |
| + // The function type was initially marked as instantiated, but it may |
|
zra
2013/07/31 21:32:33
Why might it be wrong the first time?
regis
2013/07/31 23:16:44
See comment on line 5269. The local variable and i
|
| + // actually be uninstantiated. |
| + function_type.ResetIsFinalized(); |
| + |
| // The function variable type should have been patched above. |
| ASSERT((function_variable == NULL) || |
| (function_variable->type().raw() == function_type.raw())); |