mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Add type for DoubleSlash
This commit is contained in:
parent
4f893ea69f
commit
0218eaa1fd
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ impl Type {
|
||||||
|
|
||||||
match op {
|
match op {
|
||||||
Slash => op_type(Type::float(), Type::float(), Type::float()),
|
Slash => op_type(Type::float(), Type::float(), Type::float()),
|
||||||
// TODO actually, drop this in favor of having the parser use Apply in the AST.
|
DoubleSlash => op_type(Type::int(), Type::int(), Type::int()),
|
||||||
_ => panic!("TODO types for operator {:?}", op),
|
_ => panic!("TODO types for operator {:?}", op),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue