New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolution error if getter and setter are not in the same library #4386
Comments
This comment was originally written by @mhausner Update: This no longer crashes the VM, but it does not find the getter in the library. Here's a simpler version: === blib.dart ==== int get x => 42; int set x(int v) {} main() { If the setter is commented out in b.lib, we find the getter in blib.dart. If it's not commented out, we fail to find the getter. Changed the title to: "Resolution error if getter and setter are not in the same library". |
Matthias, is this still an issue? |
This comment was originally written by @mhausner I will add a test to find out. |
Removed Priority-Medium label. |
Have two files:
-- vmcrash1-inc.dart ---
library("foo");
int get x() => 42;
-- vmcrash1.dart ---
import("vmcrash1-inc.dart");
int set x(int v) {}
main() {
x++;
}
and run the VM on vmcrash1.dart. This generates a seg-fault.
The text was updated successfully, but these errors were encountered: