Rename Float to Frac in more places

This commit is contained in:
Richard Feldman 2023-09-10 14:51:12 -04:00
parent 0f89d4c3a5
commit dc7e8b43bd
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
9 changed files with 49 additions and 49 deletions

View file

@ -88,7 +88,7 @@ pub fn make_num_literal<'a>(
IntOrFloatValue::Int(IntValue::I128(n)) => NumLiteral::Int(n, width),
IntOrFloatValue::Int(IntValue::U128(n)) => NumLiteral::U128(n),
IntOrFloatValue::Float(..) => {
internal_error!("Float value where int was expected, should have been a type error")
internal_error!("Frac value where int was expected, should have been a type error")
}
},
LayoutRepr::Builtin(Builtin::Float(width)) => match num_value {