mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Rename Float to Frac in more places
This commit is contained in:
parent
0f89d4c3a5
commit
dc7e8b43bd
9 changed files with 49 additions and 49 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue