We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
see #19546 #9495
a.d:
module a; struct X { import b : Baz; Err err; }
b.d:
module b; struct Baz { } struct Qux { import c; }
c.d:
module c; struct Foo { import a : X; X[] x; } Nullable!Foo foo() { Nullable!Foo output; return output; } struct Nullable(T) { bool opEquals(U)(const(U) rhs) const if (is(typeof(this.get == rhs))) { return true; } inout(T) get() inout { return T.init; } }
yields
Error: struct `ice19762.X` had semantic errors when compiling
The text was updated successfully, but these errors were encountered:
No branches or pull requests
see #19546 #9495
a.d:
b.d:
c.d:
yields
The text was updated successfully, but these errors were encountered: