consider renaming deduplicated mixins and placing them into artificial libraries #43089
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
Consider the following code:
Due to mixing deduplication it is possible that
OtherClass
would be rewritten to extend_OneClass&B&C
inlibrary one
- and in the resulting binary there would be objects representingLibrary package:something/one.dart
- even though this library is not actually used.This might be very confusing and hard to understand for users. We should consider renaming
_OneClass&B&C
to make class name decoupled fromOneClass
and we should consider moving it into an artificial library (e.g.dart:deduplicated_mixins
or justdart:_internal
).Internal bug that prompted investigation: b/165124315
The text was updated successfully, but these errors were encountered: