Comment #0 by ellery-newcomer — 2011-01-04T17:26:53Z
quick, what does the following code do?
import A = std.algorithm;
import A = std.string;
import std.stdio;
void main(){
writeln(A.indexOf("abc","b"));
}
also, what does it do when you comment out either of the 'import A'?
partial answer: it happily compiles in all three cases.
though this example is a bit unglamorous since indexOf does the same thing either way.
Comment #1 by github-bugzilla — 2012-02-18T11:04:37Z