Bugzilla – Attachment 69 Details for
Bug 137
missing import in std.range
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Bug creation and email sending has been disabled, file new bugs at
gcc.gnu.org/bugzilla
[patch]
added missing import to std.range's put()
stdrange_error_fix.patch (text/plain), 455 bytes, created by
Ketmar Dark
on 2014-06-14 15:38:11 CEST
(
hide
)
Description:
added missing import to std.range's put()
Filename:
MIME Type:
Creator:
Ketmar Dark
Created:
2014-06-14 15:38:11 CEST
Size:
455 bytes
patch
obsolete
>diff --git a/libphobos/src/std/range.d b/libphobos/src/std/range.d >index b2e6ea1..df1c918 100644 >--- a/libphobos/src/std/range.d >+++ b/libphobos/src/std/range.d >@@ -696,7 +696,10 @@ void put(R, E)(ref R r, E e) > } > } > else >+ { >+ import std.string; > static assert (false, format("Cannot put a %s into a %s.", E.stringof, R.stringof)); >+ } > } > > //Helper function to handle chars as quickly and as elegantly as possible
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 137
: 69