You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sgrekhov opened this issue
Oct 3, 2023
· 1 comment
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
classC {
noSuchMethod(Invocation i) =>"C";
Stringfoo();
}
mixinM {
noSuchMethod(Invocation i) =>"M";
Stringfoo();
}
classMA=ObjectwithM;
voidmain() {
C c =C();
Function f1 = c.foo;
print(f1()); // prints CMA ma =MA();
Function f2 = ma.foo;
print(f2()); // NoSuchMethodError: Class 'String' has no instance method 'call'. Receiver: "M"
}
No this issue on DartPad. So, I believe, it's pure VM issue
Tested on Dart SDK version: 3.2.0-220.0.dev (dev) (Sat Sep 30 13:02:52 2023 -0700) on "windows_x64"
The text was updated successfully, but these errors were encountered:
sgrekhov
added
the
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
label
Oct 3, 2023
eernstg
added
the
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
label
Oct 3, 2023
area-vmUse area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
Please see the following code
No this issue on DartPad. So, I believe, it's pure VM issue
Tested on
Dart SDK version: 3.2.0-220.0.dev (dev) (Sat Sep 30 13:02:52 2023 -0700) on "windows_x64"
The text was updated successfully, but these errors were encountered: