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
void main() { int[int] aa1 = [1:2]; const int[int] aa2 = aa1; assert(aa1 == aa2); } This code causes a error: Error: incompatible types for ((aa1) == (aa2)): 'int[int]' and 'const(int[int])'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Igor Stepanov reported this on 2014-10-16T21:54:24Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=13622
Description
void main() { int[int] aa1 = [1:2]; const int[int] aa2 = aa1; assert(aa1 == aa2); } This code causes a error: Error: incompatible types for ((aa1) == (aa2)): 'int[int]' and 'const(int[int])'The text was updated successfully, but these errors were encountered: