[Issue 11808] New: std.uni
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 23 12:23:34 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11808
Summary: std.uni
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: ilyayaroshenko at gmail.com
--- Comment #0 from Илья Ярошенко <ilyayaroshenko at gmail.com> 2013-12-23 12:23:32 PST ---
import std.uni;
auto set1 = CodepointSet('А', 'Я'+1, 'а', 'я'+1);
_________________________
This code asserts because ('Я'+1 == 'а') :
this()(uint[] intervals...)
in
{
assert(intervals.length % 2 == 0, "Odd number of interval bounds [a,
b)!");
for(uint i=1; i<intervals.length; i++)
assert(intervals[i-1] < intervals[i]);
//_______________________________!!!
}
body
{
data = Uint24Array!(SP)(intervals);
//_____________!!!!!!!!!!! I don`t know how manage Uint24Array
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list