Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla
View | Details | Raw Unified | Return to bug 137
Collapse All | Expand All

(-)a/libphobos/src/std/range.d (+3 lines)
Lines 696-702 void put(R, E)(ref R r, E e) Link Here
696
        }
696
        }
697
    }
697
    }
698
    else
698
    else
699
    {
700
        import std.string;
699
        static assert (false, format("Cannot put a %s into a %s.", E.stringof, R.stringof));
701
        static assert (false, format("Cannot put a %s into a %s.", E.stringof, R.stringof));
702
    }
700
}
703
}
701
704
702
//Helper function to handle chars as quickly and as elegantly as possible
705
//Helper function to handle chars as quickly and as elegantly as possible

Return to bug 137