rustc: Consider native types to be scalar

This commit is contained in:
Patrick Walton 2011-03-17 11:46:21 -07:00
parent 55587a554c
commit 2ca66718ce
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ fn type_is_scalar(@t ty) -> bool {
case (ty_machine(_)) { ret true; }
case (ty_char) { ret true; }
case (ty_type) { ret true; }
case (ty_native) { ret true; }
case (_) { ret false; }
}
fail;