Closed as not planned
Description
reflector
..registerFactory(ExampleService, () => new ExampleService())
..registerFactory(ExampleService2, () => new ExampleService2());
Results in:
The name 'reflector' refers to an import prefix, so it must be followed by '.'. #prefix_identifier_not_followed_by_dot
I don't see a technical reason why this can't be allowed.