Thread overview
[Issue 18187] std.uni.Grapheme should be usable in @safe
Jan 03, 2018
Seb
Mar 22, 2018
John Colvin
Mar 22, 2018
Seb
Mar 22, 2018
John Colvin
Oct 19, 2021
RazvanN
January 03, 2018
https://issues.dlang.org/show_bug.cgi?id=18187

Seb <greensunny12@gmail.com> changed:

           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
--
March 22, 2018
https://issues.dlang.org/show_bug.cgi?id=18187

John Colvin <john.loughran.colvin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin@gmail.
                   |                            |com

--- Comment #1 from John Colvin <john.loughran.colvin@gmail.com> ---
Do you have an example? Changing the unittests for those 2 functions to be @safe just works for me.

--
March 22, 2018
https://issues.dlang.org/show_bug.cgi?id=18187

--- Comment #2 from Seb <greensunny12@gmail.com> ---
That's great then.
There have been a few changed in std.uni recently, e.g.

https://github.com/dlang/phobos/pull/6041

So maybe these changes made the test @safe
There's also the fact that Phobos's testsuite now uses -dip1000 to test
std.uni, but I just checked and it seems like the tests are now @safe even
without -dip1000 :)

Up for a quick PR?

--
March 22, 2018
https://issues.dlang.org/show_bug.cgi?id=18187

--- Comment #3 from John Colvin <john.loughran.colvin@gmail.com> ---
https://github.com/dlang/phobos/pull/6330

--
October 19, 2021
https://issues.dlang.org/show_bug.cgi?id=18187

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |FIXED

--