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
static import std.typecons; import std.typecons : Nullable; void a(T)(Nullable!T) {} void b(T)(std.typecons.Nullable!T) {} unittest { Nullable!int i; a(i); // OK b(i); // Error: undefined identifier `T` }
The text was updated successfully, but these errors were encountered:
reduced in a single module:
module m21008; struct Nullable(T){} void a(T)(Nullable!T) {} void b(T)(m21008.Nullable!T) {} void c(T)(.Nullable!T) {} unittest { Nullable!int i; a(i); // OK b(i); // Error: undefined identifier `T` c(i); // Error: undefined identifier `T` }
so hopefully that's only a IFTI bug, not related to imports.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: