Marijn Haverbeke
|
71c1c15805
|
xfail-pretty iface-generic.rs until i have time to debug
|
2012-01-04 19:58:02 +01:00 |
|
Marijn Haverbeke
|
b02a77d6b4
|
Add test for generic iface methods
Issue #1227
|
2012-01-04 17:30:36 +01:00 |
|
Lenny222
|
d1ffe5034b
|
"str": rename "str_from_cstr" to "from_cstr" (analogous to the other "from_*")
|
2012-01-04 09:33:07 +01:00 |
|
Lenny222
|
dd284eb396
|
"char": use shorter names "to_lower"/"to_upper", analogous to the same names in "str"
|
2012-01-04 09:33:04 +01:00 |
|
Tim Chevalier
|
439e28b751
|
Add missing ty_constr cases to trans::type_of_inner and ty::fold_ty.
Closes #970
|
2012-01-03 15:50:05 -08:00 |
|
Niko Matsakis
|
72a3667eb3
|
Allow tail expressions even in no_value blocks. Type checker
will guarantee they have unit type.
|
2012-01-03 13:13:52 -08:00 |
|
Niko Matsakis
|
43a9d50a74
|
new tests
|
2012-01-03 13:13:52 -08:00 |
|
Brian Anderson
|
513a263e81
|
Merge pull request #1392 from Lenny222/list
list: add "is_not_empty" requirement to "head" and "tail" (analogous to "vec")
|
2012-01-03 12:18:53 -08:00 |
|
Marijn Haverbeke
|
4e88d5ae92
|
Make resolution of dictionaries on bounded params work
Issue #1227
|
2012-01-03 16:37:41 +01:00 |
|
Marijn Haverbeke
|
5ea3c96938
|
Wire in resolution of param bounds for method calls
Issue #1227
|
2012-01-03 16:18:40 +01:00 |
|
Marijn Haverbeke
|
b162f33396
|
Fix expected error messages for better printing of ty_ptr
|
2012-01-02 15:59:04 +01:00 |
|
Marijn Haverbeke
|
15be2fc73a
|
Add 'copy' bounds to functions that were faultily accepted without
Issue #1390
|
2012-01-02 15:31:58 +01:00 |
|
Marijn Haverbeke
|
bd6646e698
|
Make last-use pass properly handle closed-over variables
Closes #1399
|
2012-01-02 10:20:58 +01:00 |
|
User Jyyou
|
a59c4b1b47
|
freebsd support
|
2012-01-01 20:18:55 -08:00 |
|
Lenny222
|
f8d7a1c258
|
"str": extract to_upper/lower_case() into "char"
|
2012-01-01 13:15:30 -08:00 |
|
Stefan Plantikow
|
57ac67a5aa
|
core: killed all math wrappers
|
2011-12-31 03:45:17 +01:00 |
|
Stefan Plantikow
|
49d36c7f85
|
Trying to remove wrappers from float
|
2011-12-31 03:45:17 +01:00 |
|
Niko Matsakis
|
8319b5a252
|
add cap clause to pretty printer, with a test
|
2011-12-30 16:25:55 -08:00 |
|
Lenny222
|
ab2a643f27
|
add test for list:is_empty()
|
2011-12-30 10:54:31 +01:00 |
|
Niko Matsakis
|
aa5382bb13
|
split proto from fn_decl, as not all fn_decls know the proto.
this will address the (crashing) new test added.
|
2011-12-29 20:29:28 -08:00 |
|
Graydon Hoare
|
36c55b20a8
|
Add support in lexer for utf8 identifiers. No NFKC logic in char yet.
|
2011-12-29 14:45:18 -08:00 |
|
Lenny222
|
d07c6e8a0e
|
list: use predicate to enforce non-empty requirement
|
2011-12-29 21:24:03 +01:00 |
|
Graydon Hoare
|
2ed1005bd7
|
On second thought, re-land pull request #1385 with backquotes; easier to grep, can change in the future.
|
2011-12-28 13:41:31 -08:00 |
|
Lenny222
|
0b9751b141
|
Use singlequotes in the typechecker too, to distinguish code and English
|
2011-12-25 20:27:09 +01:00 |
|
Graydon Hoare
|
b3eb9a0031
|
Merge pull request #1382 from Lenny222/char
"char": add is_lowercase(), is_uppercase()
|
2011-12-24 11:55:39 -08:00 |
|
Graydon Hoare
|
900bc1298d
|
Merge pull request #1377 from Lenny222/icu
std::unicode::icu: add "is*" functions + unit test
|
2011-12-24 11:54:07 -08:00 |
|
Lenny222
|
eb0cdc02e3
|
char: add is_lowercase(), is_uppercase()
|
2011-12-24 10:41:11 +01:00 |
|
Graydon Hoare
|
f0dfbe7b1b
|
Register new snapshots, purge log_err and log_full in favour of log(...).
|
2011-12-22 17:53:53 -08:00 |
|
Graydon Hoare
|
389329ef1e
|
Merge all 3 log syntaxes, tidy up residual misuses.
|
2011-12-22 16:14:00 -08:00 |
|
Graydon Hoare
|
8b580954fe
|
Register snapshots and switch logging over to use of log_full or #error / #debug.
|
2011-12-22 14:42:52 -08:00 |
|
Lenny222
|
d812d06bc8
|
std::unicode: add functions, unit test
|
2011-12-22 22:58:38 +01:00 |
|
Marijn Haverbeke
|
e2e077c831
|
Remove trivial cast checker
I consider the added complexity not justified at this point, and it
interacts badly with the patches for issue #828. Feel free to discuss.
|
2011-12-22 15:04:00 +01:00 |
|
Lenny222
|
7beb21c6e3
|
tests: add corner case (empty list)
|
2011-12-22 08:59:22 +01:00 |
|
Lenny222
|
6f5a0a3b3b
|
json: add "null"
|
2011-12-22 08:46:49 +01:00 |
|
Niko Matsakis
|
66856a39b3
|
add tests I forgot to add
|
2011-12-21 08:41:41 -08:00 |
|
Niko Matsakis
|
627217fa55
|
valid cap clause for kind-ness too
|
2011-12-21 06:14:36 -08:00 |
|
Brian Anderson
|
dedfef4c4c
|
Revert "wip"
This reverts commit aeadc6269ef76f4425a49d892ceac7ea311ef5c1.
|
2011-12-20 20:57:04 -08:00 |
|
Brian Anderson
|
aeadc6269e
|
wip
|
2011-12-20 20:15:09 -08:00 |
|
Graydon Hoare
|
a24c19e867
|
Add companion-module core.rs that exports log levels and option/some/none everywhere.
|
2011-12-20 12:41:44 -08:00 |
|
Stefan Plantikow
|
b957916e06
|
removed math leftovers from std
|
2011-12-20 18:07:36 +01:00 |
|
Haitao Li
|
28b825d846
|
test: Remove 'error:' from error pattern
May include ansi escape code for color rendering on certain terminal.
|
2011-12-20 15:38:40 +08:00 |
|
Niko Matsakis
|
55a2fd18ec
|
implement capture clauses (move, in particular) and integrate
them into type state and so forth
|
2011-12-19 14:07:46 -08:00 |
|
Niko Matsakis
|
b2b2a430df
|
resolve capture clauses
|
2011-12-19 14:07:46 -08:00 |
|
Niko Matsakis
|
b0f1a5f051
|
when collecting free vars, track the span where it is used too
|
2011-12-19 14:07:46 -08:00 |
|
Niko Matsakis
|
98cbbbb642
|
impl the proper partial order between fn types
|
2011-12-19 14:07:46 -08:00 |
|
Erick Tryzelaar
|
02d84d89e0
|
libcore: add splitn to split a string N times.
|
2011-12-19 10:22:07 -08:00 |
|
Erick Tryzelaar
|
8e54e74be4
|
libcore: add vec push.
This is a simple wrapper around grow for the common
case of pushing a value on the end of a vector.
|
2011-12-19 10:22:07 -08:00 |
|
Erick Tryzelaar
|
6b1c60d312
|
libcore: Add vec any2 and all2 functions.
|
2011-12-19 10:22:07 -08:00 |
|
Erick Tryzelaar
|
a66f0688fd
|
getopts: add test for strings with spaces.
|
2011-12-19 07:27:16 -08:00 |
|
Marijn Haverbeke
|
60acae4df7
|
Add type argument field to expr_path
This way, you can explicitly provide type parameters when calling a
generic method.
Issue #1227
|
2011-12-19 10:43:23 +01:00 |
|