Commit graph

12 commits

Author SHA1 Message Date
monarch dodra
6e5b1d0b92 Changing ByCodepoint's "save" signature
1) Because if it returns a ref, then it isn't actually saving anything...
2) Changed the "const" qualifier to inout: Using "const" means the return type is always "const ByCodepoint", which isn't a valid range (a const range can't be popped)

The change is mostly moot, since it would appear ByCodepoint's save or forwardness is never used anyways. But that doesn't mean it shouldn't be correct.
2012-12-12 20:19:05 +01:00
Dmitry Olshansky
0f2947d4d1 bugfixes for compile-time regex
fix issue 8725

fix issue 8349
2012-12-01 00:37:32 +04:00
k-hara
01df2f60be Remove redundant parenthesis for getters, and use assignment syntax for setters 2012-11-23 15:07:17 +09:00
alexrp
d913e07fc5 hash_t -> size_t. 2012-10-15 04:45:17 +02:00
dawg
de237ec719 reduce unittest runtime
- use random sampling of codepoint sets
- save and print random seed for reproducibility
- add new unittest for ByCodepoint
- 12s => 4ms
2012-06-28 08:11:27 +02:00
Dmitry Olshansky
ba5eecf086 clean up CTFE, workarounds-- 2012-03-23 12:17:20 +04:00
Walter Bright
17fd52dc00 make it pure, etc. 2012-03-11 00:36:49 -08:00
David Nadlinger
cabdd80769 Make extra std.internal.uni test -property compliant.
This was not caught before the merge because the test was disabled until commit eb4bd2bc73.
2011-12-04 22:01:05 +01:00
David Nadlinger
e312f9898b Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled.

std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
Dmitry Olshansky
eb4bd2bc73 std.regex: assertion on wrong escapes inside []
also enable extra test in std.internal.uni
2011-11-27 13:45:15 +04:00
k-hara
1eba4fa9bb Fix std/internal/uni for Posix unit test breaking 2011-11-14 19:15:52 +09:00
Dmitry Olshansky
f25319b3b0 replace std.regex with FReD 2011-11-01 01:15:51 +04:00