mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
rustc: Make trans.type_of handle parameter types
This commit is contained in:
parent
e6908a66ec
commit
13b889287b
@ -353,9 +353,11 @@ fn type_of_inner(@crate_ctxt cx, @typeck.ty t) -> TypeRef {
|
||||
ret pair;
|
||||
}
|
||||
case (typeck.ty_var(_)) {
|
||||
// FIXME: implement.
|
||||
log "ty_var in trans.type_of";
|
||||
ret T_i8();
|
||||
fail;
|
||||
}
|
||||
case (typeck.ty_param(_)) {
|
||||
ret T_ptr(T_i8());
|
||||
}
|
||||
}
|
||||
fail;
|
||||
|
Loading…
Reference in New Issue
Block a user