6971cddaed
A factory is saved as a procedure in kernel, and was thus also indexed as a procedure for the purpose of experimental invalidation. This caused trouble when having a "real" procedure and a factory with the same name. That is fixed by this CL by indexing factories ad constructors. Fixes https://github.com/flutter/flutter/issues/74180 Change-Id: Ieef0421c29a61e26f2a7ee4bb4f196672afd8445 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/180148 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>