Fix bug in llvm type signature of function items; enable three more tests.
This commit is contained in:
parent
eaf9df2dc3
commit
77670e84de
2 changed files with 4 additions and 1 deletions
|
@ -517,6 +517,9 @@ TEST_XFAILS_LLVM := $(TASK_XFAILS) \
|
||||||
|
|
||||||
TEST_XFAILS_SELF := $(filter-out \
|
TEST_XFAILS_SELF := $(filter-out \
|
||||||
$(addprefix test/run-pass/, \
|
$(addprefix test/run-pass/, \
|
||||||
|
bool-not.rs \
|
||||||
|
dead-code-one-arm-if.rs \
|
||||||
|
hello.rs \
|
||||||
int.rs \
|
int.rs \
|
||||||
item-name-overload.rs \
|
item-name-overload.rs \
|
||||||
multiline-comment.rs \
|
multiline-comment.rs \
|
||||||
|
|
|
@ -280,7 +280,7 @@ fn type_of_inner(@trans_ctxt cx, @typeck.ty t) -> TypeRef {
|
||||||
ret T_struct(tys);
|
ret T_struct(tys);
|
||||||
}
|
}
|
||||||
case (typeck.ty_fn(?args, ?out)) {
|
case (typeck.ty_fn(?args, ?out)) {
|
||||||
let vec[TypeRef] atys = vec();
|
let vec[TypeRef] atys = vec(T_taskptr());
|
||||||
for (typeck.arg arg in args) {
|
for (typeck.arg arg in args) {
|
||||||
let TypeRef t = type_of(cx, arg.ty);
|
let TypeRef t = type_of(cx, arg.ty);
|
||||||
alt (arg.mode) {
|
alt (arg.mode) {
|
||||||
|
|
Loading…
Reference in a new issue