[Issue 17188] stdc qsort predicate requires scope parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 2 23:19:28 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17188

--- Comment #8 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/02f30af1e4b90de78dfa959abd4ba0d3c77e0bef
fix Issue 17188 - qsort predicate requires scope parameters

- remove scope as it's not checked for `@system` functions anyhow
- adding overloads would be an alternative approach, but it's 32
  variants to support all of `scope`, `@safe`, `pure`, `nothrow`, `@nogc`

https://github.com/dlang/druntime/commit/87656c3bf3661cbd7dca2eb2cbff48df2c022b52
Merge pull request #2122 from MartinNowak/fix17188

fix Issue 17188 - qsort predicate requires scope parameters

--


More information about the Digitalmars-d-bugs mailing list