[CFE, language] Different results for a private field overrides if mixin application is moved to a different library #50374
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-as-intended
Closed as the reported issue is expected behavior
Not sure if this is a bug or intended behavior. CFE uses symbols for
_foo
from the current library inmain()
, which is different from the symbol forB._foo
if class B is defined in a separate library.This came up in fixing a DDC issue #50119, which resulted in a stack overflow in
C()._foo
if B was defined in a separate library. I am updating DDC to match other compilers' behavior (described below).The text was updated successfully, but these errors were encountered: