[Issue 18124] std.regex.RegexMatch's front property is under-documented
https://issues.dlang.org/show_bug.cgi?id=18124 github-bugzi...@puremagic.com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --
[Issue 18124] std.regex.RegexMatch's front property is under-documented
https://issues.dlang.org/show_bug.cgi?id=18124 --- Comment #9 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/fdc3e994cd901b5e34bf82dc6de214a77ab9dff8 Explicitly type RegexMatch.front (and add inout because captures has inout as well). Fixes issue 18124 https://github.com/dlang/phobos/commit/9012cb4565030346a666d3b1ab5f95d1b6ffab18 Merge pull request #5976 from schveiguy/fix18124 Fix issue 18124 -- RegexMatch.front isn't clear as to what it returns merged-on-behalf-of: Petar Kirov--
[Issue 18182] std.uri should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18182 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18178] std.path should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18178 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18181] std.typecons.Blackhole/Whitehole/AutoImplement should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18181 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18185] std.zlib should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18185 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18180] std.typecons.Proxy should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18180 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18187] std.uni.Grapheme should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18187 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 13983] RefCounted needs to be pure, @safe, nothrow
https://issues.dlang.org/show_bug.cgi?id=13983 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18110] most of phobos should be @safe-ly useable
https://issues.dlang.org/show_bug.cgi?id=18110 Sebchanged: What|Removed |Added Depends on||13983, 18178, 18179, 18180, ||18181, 18182, 18183, 18184, ||18185, 18186, 18187 --- Comment #3 from Seb --- Made a quick pass through Phobos and started to create issues for an easier overview, progress tracking and management. The list is still quite large atm. Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=13983 [Issue 13983] RefCounted needs to be pure, @safe, nothrow https://issues.dlang.org/show_bug.cgi?id=18178 [Issue 18178] std.path should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18179 [Issue 18179] std.typecons.scoped should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18180 [Issue 18180] std.typecons.Proxy should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18181 [Issue 18181] std.typecons.Blackhole/Whitehole/AutoImplement should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18182 [Issue 18182] std.uri should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18183 [Issue 18183] std.variant should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18184 [Issue 18184] std.zip should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18185 [Issue 18185] std.zlib should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18186 [Issue 18186] std.array.replaceSlice should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18187 [Issue 18187] std.uni.Grapheme should be usable in @safe --
[Issue 18184] std.zip should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18184 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18183] std.variant should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18183 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18186] std.array.replaceSlice should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18186 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18179] std.typecons.scoped should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18179 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18187] New: std.uni.Grapheme should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18187 Issue ID: 18187 Summary: std.uni.Grapheme should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com see e.g. std.uni.decodeGrapheme or std.uni.byGrapheme --
[Issue 18185] New: std.zlib should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18185 Issue ID: 18185 Summary: std.zlib should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com Or we start to deprecate it. Probably most methods need to be changed to accept ubyte[] like std.digest. --
[Issue 18184] New: std.zip should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18184 Issue ID: 18184 Summary: std.zip should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com Or we finally start to deprecate it. --
[Issue 18183] New: std.variant should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18183 Issue ID: 18183 Summary: std.variant should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18182] New: std.uri should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18182 Issue ID: 18182 Summary: std.uri should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com urlEncode -> encodeComponent -> URI_Encode --
[Issue 18180] New: std.typecons.Proxy should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18180 Issue ID: 18180 Summary: std.typecons.Proxy should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18181] New: std.typecons.Blackhole/Whitehole/AutoImplement should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18181 Issue ID: 18181 Summary: std.typecons.Blackhole/Whitehole/AutoImplement should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18179] New: std.typecons.scoped should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18179 Issue ID: 18179 Summary: std.typecons.scoped should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18178] New: std.path should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18178 Issue ID: 18178 Summary: std.path should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com Depends on: 18158 - asAbsolutePath depends on 18158 - expandTilde Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18158 [Issue 18158] std.file.getcwd should be usable in @safe --
[Issue 18158] std.file.getcwd should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18158 Sebchanged: What|Removed |Added Blocks||18178 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18178 [Issue 18178] std.path should be usable in @safe --
[Issue 18174] std.math.equalsDigit should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18174 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18173] std.json should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18173 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18168] std.base64.encode for output ranges should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18168 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18172] std.getopt should allow taking parameters by `ref` (like std.format.formattedRead), s.t. it can be used in @safe
https://issues.dlang.org/show_bug.cgi?id=18172 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18177] std.parallelism should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18177 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18167] std.array.appender should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18167 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18169] std.concurrency should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18169 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18110] most of phobos should be @safe-ly useable
https://issues.dlang.org/show_bug.cgi?id=18110 Sebchanged: What|Removed |Added Depends on||18166, 18167, 18168, 18169, ||18170, 18171, 18172, 18173, ||18174, 18175, 18176, 18177 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18166 [Issue 18166] std.array.replace should be usable in @safe for dstrings https://issues.dlang.org/show_bug.cgi?id=18167 [Issue 18167] std.array.appender should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18168 [Issue 18168] std.base64.encode for output ranges should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18169 [Issue 18169] std.concurrency should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18170 [Issue 18170] std.functional.memoize should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18171 [Issue 18171] std.functional.toDelegate should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18172 [Issue 18172] std.getopt should allow taking parameters by `ref` (like std.format.formattedRead), s.t. it can be used in @safe https://issues.dlang.org/show_bug.cgi?id=18173 [Issue 18173] std.json should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18174 [Issue 18174] std.math.equalsDigit should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18175 [Issue 18175] std.mmfile should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18176 [Issue 18176] std.numeric.gapWeightedSimilarity should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18177 [Issue 18177] std.parallelism should be usable in @safe --
[Issue 18176] std.numeric.gapWeightedSimilarity should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18176 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18170] std.functional.memoize should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18170 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18166] std.array.replace should be usable in @safe for dstrings
https://issues.dlang.org/show_bug.cgi?id=18166 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18175] std.mmfile should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18175 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18171] std.functional.toDelegate should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18171 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18177] New: std.parallelism should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18177 Issue ID: 18177 Summary: std.parallelism should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18176] New: std.numeric.gapWeightedSimilarity should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18176 Issue ID: 18176 Summary: std.numeric.gapWeightedSimilarity should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18175] New: std.mmfile should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18175 Issue ID: 18175 Summary: std.mmfile should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18174] New: std.math.equalsDigit should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18174 Issue ID: 18174 Summary: std.math.equalsDigit should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18173] New: std.json should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18173 Issue ID: 18173 Summary: std.json should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18172] New: std.getopt should allow taking parameters by `ref` (like std.format.formattedRead), s.t. it can be used in @safe
https://issues.dlang.org/show_bug.cgi?id=18172 Issue ID: 18172 Summary: std.getopt should allow taking parameters by `ref` (like std.format.formattedRead), s.t. it can be used in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18171] New: std.functional.toDelegate should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18171 Issue ID: 18171 Summary: std.functional.toDelegate should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18170] New: std.functional.memoize should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18170 Issue ID: 18170 Summary: std.functional.memoize should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18169] New: std.concurrency should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18169 Issue ID: 18169 Summary: std.concurrency should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18168] New: std.base64.encode for output ranges should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18168 Issue ID: 18168 Summary: std.base64.encode for output ranges should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com void test() @safe { import std.base64; struct OutputRange { char[] result; void put(const(char) ch) @safe { result ~= ch; } } ubyte[] data = [0x1a, 0x2b, 0x3c, 0x4d, 0x5d, 0x6e]; OutputRange output; assert(Base64.encode(data, output) == 8); assert(output.result == "Gis8TV1u"); } --
[Issue 18167] std.array.appender should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18167 --- Comment #1 from Seb--- Another example: void test @safe { static class A {} auto w = appender!(shared(A)[])(); w.put(new shared A()); } --
[Issue 18167] New: std.array.appender should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18167 Issue ID: 18167 Summary: std.array.appender should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com void test @safe { import std.array; struct S { void opAssign(S) { } } auto a1 = Appender!(const(S)[])(); auto s1 = const(S)(); a1.put(s1); } onlineapp.d(14): Error: @safe function 'onlineapp.test' cannot call @system function 'std.array.Appender!(const(S)[]).Appender.put!(const(S)).put' --
[Issue 18148] Integral Promotion Fix For 16997 Should Issue Deprecation, Not A Warning
https://issues.dlang.org/show_bug.cgi?id=18148 --- Comment #8 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/35be0df5b58c0e9053dcae2bea658b5b3fcab397 fix changlog entry --
[Issue 18166] New: std.array.replace should be usable in @safe for dstrings
https://issues.dlang.org/show_bug.cgi?id=18166 Issue ID: 18166 Summary: std.array.replace should be usable in @safe for dstrings Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com import std.array; replace("aa"d, 0, 0, "***"d); onlineapp.d(6): Error: @safe function 'onlineapp.test' cannot call @system function 'std.array.replace!(immutable(dchar), dstring).replace' --
[Issue 18162] DMD seg fault on alias this
https://issues.dlang.org/show_bug.cgi?id=18162 Sebchanged: What|Removed |Added Blocks|18110 | Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18110] most of phobos should be @safe-ly useable
https://issues.dlang.org/show_bug.cgi?id=18110 Sebchanged: What|Removed |Added Depends on|18162 | Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18162 [Issue 18162] DMD seg fault on alias this --
[Issue 18160] std.algorithm.iteration.each should be usable in @safe code
https://issues.dlang.org/show_bug.cgi?id=18160 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18162] DMD seg fault on alias this
https://issues.dlang.org/show_bug.cgi?id=18162 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18161] std.algorithm.iteration.chunkBy should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18161 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18165] std.algorithm.setops.multiwayMerge / multiwayUnion should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18165 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18163] std.container.array should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18163 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18110] most of phobos should be @safe-ly useable
https://issues.dlang.org/show_bug.cgi?id=18110 Sebchanged: What|Removed |Added Depends on||18159, 18160, 18161, 18162, ||18163, 18164, 18165 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18159 [Issue 18159] std.algorithm.comparison.{cast,pred}Switch should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18160 [Issue 18160] std.algorithm.iteration.each should be usable in @safe code https://issues.dlang.org/show_bug.cgi?id=18161 [Issue 18161] std.algorithm.iteration.chunkBy should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18162 [Issue 18162] DMD seg fault on alias this https://issues.dlang.org/show_bug.cgi?id=18163 [Issue 18163] std.container.array should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18164 [Issue 18164] std.algorithm.setops.largestPartialIntersection, largestPartialIntersectionWeighted should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18165 [Issue 18165] std.algorithm.setops.multiwayMerge / multiwayUnion should be usable in @safe --
[Issue 18164] std.algorithm.setops.largestPartialIntersection, largestPartialIntersectionWeighted should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18164 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18159] std.algorithm.comparison.{cast,pred}Switch should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18159 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18165] std.algorithm.setops.multiwayMerge / multiwayUnion should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18165 Sebchanged: What|Removed |Added Summary|std.algorithm.setops.multiw |std.algorithm.setops.multiw |ayMerge should be usable in |ayMerge / multiwayUnion |@safe |should be usable in @safe --
[Issue 18165] New: std.algorithm.setops.multiwayMerge should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18165 Issue ID: 18165 Summary: std.algorithm.setops.multiwayMerge should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18164] New: std.algorithm.setops.largestPartialIntersection, largestPartialIntersectionWeighted should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18164 Issue ID: 18164 Summary: std.algorithm.setops.largestPartialIntersection, largestPartialIntersectionWeighted should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this
https://issues.dlang.org/show_bug.cgi?id=16621 --- Comment #4 from Walter Bright--- *** Issue 18162 has been marked as a duplicate of this issue. *** --
[Issue 18162] DMD seg fault on alias this
https://issues.dlang.org/show_bug.cgi?id=18162 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Walter Bright --- The fix for https://issues.dlang.org/show_bug.cgi?id=16621 causes this seg fault to go away, so I'm going to resolve it as a duplicate. *** This issue has been marked as a duplicate of issue 16621 *** --
[Issue 18163] New: std.container.array should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18163 Issue ID: 18163 Summary: std.container.array should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com import std.container.array : Array; Array!int arr; > @safe function 'onlineapp.test' cannot call @system destructor > 'std.container.array.Array!int.Array.~this' --
[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this
https://issues.dlang.org/show_bug.cgi?id=16621 --- Comment #3 from Walter Bright--- The seg fault was split off into https://issues.dlang.org/show_bug.cgi?id=18162 --
[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this
https://issues.dlang.org/show_bug.cgi?id=16621 Walter Brightchanged: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=18162 --
[Issue 18162] DMD seg fault on alias this
https://issues.dlang.org/show_bug.cgi?id=18162 Walter Brightchanged: What|Removed |Added Keywords||ice See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=16621 --
[Issue 18162] New: DMD seg fault on alias this
https://issues.dlang.org/show_bug.cgi?id=18162 Issue ID: 18162 Summary: DMD seg fault on alias this Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: bugzi...@digitalmars.com >From Daniel Kozak import std.stdio; auto xxx(T)() { return this; } struct S { mixin xxx!(typeof(this)); alias xxx this; } void foo(S pos) { writeln(pos); } void main(){} --
[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this
https://issues.dlang.org/show_bug.cgi?id=16621 --- Comment #2 from Walter Bright--- Fix for the hang: https://github.com/dlang/dmd/pull/7588 --
[Issue 16621] [REG2.060] DMD hang in semantic3 on alias this
https://issues.dlang.org/show_bug.cgi?id=16621 Walter Brightchanged: What|Removed |Added CC||bugzi...@digitalmars.com Summary|[REG2.060] DMD hang in |[REG2.060] DMD hang in |semantic3 on alias this or |semantic3 on alias this |segfault| --
[Issue 18161] New: std.algorithm.iteration.chunkBy should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18161 Issue ID: 18161 Summary: std.algorithm.iteration.chunkBy should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com import std.algorithm; void test() @safe { auto data = [[1, 1], [1, 2], [2, 2], [2, 3]]; auto r1 = data.chunkBy!((a, b) => a[0] == b[0]); } --
[Issue 18160] New: std.algorithm.iteration.each should be usable in @safe code
https://issues.dlang.org/show_bug.cgi?id=18160 Issue ID: 18160 Summary: std.algorithm.iteration.each should be usable in @safe code Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com @safe unittest { import std.algorithm.iteration : each; import std.range : lockstep; auto a = [ 1, 2, 3 ]; auto b = [ 2, 3, 4 ]; a.lockstep(b).each!((ref x, ref y) { ++x; ++y; }); assert(a == [ 2, 3, 4 ]); assert(b == [ 3, 4, 5 ]); } --
[Issue 18159] std.algorithm.comparison.{cast,pred}Switch should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18159 Sebchanged: What|Removed |Added Summary|std.algorithm.comparison.ca |std.algorithm.comparison.{c |stSwitch should be usable |ast,pred}Switch should be |in @safe|usable in @safe --
[Issue 18159] New: std.algorithm.comparison.castSwitch should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18159 Issue ID: 18159 Summary: std.algorithm.comparison.castSwitch should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18158] std.file.getcwd should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18158 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18110] most of phobos should be @safe-ly useable
https://issues.dlang.org/show_bug.cgi?id=18110 Sebchanged: What|Removed |Added Depends on||18155, 18156, 18157, 18158 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18155 [Issue 18155] std.file.dirEntries should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18156 [Issue 18156] std.file.slurp should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18157 [Issue 18157] std.file.rmdirRecurse should be usable in @safe https://issues.dlang.org/show_bug.cgi?id=18158 [Issue 18158] std.file.getcwd should be usable in @safe --
[Issue 18157] std.file.rmdirRecurse should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18157 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18158] New: std.file.getcwd should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18158 Issue ID: 18158 Summary: std.file.getcwd should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18155] std.file.dirEntries should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18155 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18156] std.file.slurp should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18156 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18155] std.file.dirEntries should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18155 Sebchanged: What|Removed |Added Blocks||18157 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18157 [Issue 18157] std.file.rmdirRecurse should be usable in @safe --
[Issue 18157] New: std.file.rmdirRecurse should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18157 Issue ID: 18157 Summary: std.file.rmdirRecurse should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com Depends on: 18155 Depends on 18155 (dirEntries being @safE) Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18155 [Issue 18155] std.file.dirEntries should be usable in @safe --
[Issue 18156] New: std.file.slurp should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18156 Issue ID: 18156 Summary: std.file.slurp should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18155] std.file.dirEntries should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18155 Sebchanged: What|Removed |Added OS|Linux |All --
[Issue 18155] New: std.file.dirEntries should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18155 Issue ID: 18155 Summary: std.file.dirEntries should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 14439] aa's keys, values, byKey, byValue not usable in @safe context
https://issues.dlang.org/show_bug.cgi?id=14439 --- Comment #7 from Seb--- Note that most of this has been fixed in https://github.com/dlang/druntime/pull/1944 and https://github.com/dlang/druntime/pull/1992 Only .keys and .values remain unsafe (updated the title accordingly) See also: https://run.dlang.io/is/JXxN7y --
[Issue 18110] most of phobos should be @safe-ly useable
https://issues.dlang.org/show_bug.cgi?id=18110 Sebchanged: What|Removed |Added CC||greensunn...@gmail.com Depends on||18154, 13607, 14445, 14439 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=13607 [Issue 13607] BigInt math not usable in @safe code https://issues.dlang.org/show_bug.cgi?id=14439 [Issue 14439] aa's keys, values, byKey, byValue not usable in @safe context https://issues.dlang.org/show_bug.cgi?id=14445 [Issue 14445] std.net.curl not usable in @safe code https://issues.dlang.org/show_bug.cgi?id=18154 [Issue 18154] std.process should be usable in @safe --
[Issue 18154] std.process should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18154 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 14439] aa's keys, values, byKey, byValue not usable in @safe context
https://issues.dlang.org/show_bug.cgi?id=14439 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 14445] std.net.curl not usable in @safe code
https://issues.dlang.org/show_bug.cgi?id=14445 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 13607] BigInt math not usable in @safe code
https://issues.dlang.org/show_bug.cgi?id=13607 Sebchanged: What|Removed |Added Blocks||18110 Referenced Issues: https://issues.dlang.org/show_bug.cgi?id=18110 [Issue 18110] most of phobos should be @safe-ly useable --
[Issue 18154] New: std.process should be usable in @safe
https://issues.dlang.org/show_bug.cgi?id=18154 Issue ID: 18154 Summary: std.process should be usable in @safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: greensunn...@gmail.com --
[Issue 18112] findSkip example in version 2.78 is not working are expected
https://issues.dlang.org/show_bug.cgi?id=18112 Sebchanged: What|Removed |Added Status|NEW |RESOLVED CC||greensunn...@gmail.com Resolution|--- |INVALID --- Comment #2 from Seb --- Works fine with dmd-nightly: https://run.dlang.io/is/cjGwip and dmd-beta https://run.dlang.io/is/YKnUqm Did you look at the `master` pages and run the example with an older DMD? You can always run the example in an external editor by clicking on the button "Open in external" on the right side of an example. If you are on the master pages, dmd-nightly will automatically be selected. Closing this as invalid because I can't reproduce this with neither dmd-nightly nor dmd-beta. --
[Issue 18153] deprecate public symbols ByLine, ByRecord, ByChunk
https://issues.dlang.org/show_bug.cgi?id=18153 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/d33e7df1ca92dd0f60010dd79357232c50bfe2ec Fix Issue 18153 - deprecate public symbols ByLine, ByRecord, ByChunk https://github.com/dlang/phobos/commit/e7f68bf5332d742334f8844933bfcabbfe56dc39 Merge pull request #5982 from wilzbach/fix-18153 Fix Issue 18153 - deprecate public symbols ByLine, ByRecord, ByChunk merged-on-behalf-of: Steven Schveighoffer--
[Issue 18153] deprecate public symbols ByLine, ByRecord, ByChunk
https://issues.dlang.org/show_bug.cgi?id=18153 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 18153] deprecate public symbols ByLine, ByRecord, ByChunk
https://issues.dlang.org/show_bug.cgi?id=18153 Sebchanged: What|Removed |Added CC||greensunn...@gmail.com Summary|undocumented public structs |deprecate public symbols |ByLine, ByRecord, ByChunk |ByLine, ByRecord, ByChunk --- Comment #1 from Seb --- Have a look here: https://github.com/dlang/phobos/blob/master/std/stdio.d#L2070 A long time ago ByLine and friends used to be publicly documented. However, it was realized that this is a mistake and thus only undocumented. > suggest either making them private (like ByLineCopy) Yes, that's the way to move forward. It can be done with sth. like this: ``` deprecated("Use .byLine") alias ByLine = ByLineImpl; ``` --
[Issue 18153] deprecate public symbols ByLine, ByRecord, ByChunk
https://issues.dlang.org/show_bug.cgi?id=18153 Sebchanged: What|Removed |Added Keywords||pull Assignee|nob...@puremagic.com|greensunn...@gmail.com --- Comment #2 from Seb --- PR: https://github.com/dlang/phobos/pull/5982 --