We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c825198 commit 563f2c5Copy full SHA for 563f2c5
InlineNumeric.scala
@@ -214,15 +214,15 @@ given BigDecimalAsIfInlineIntegral: BigDecimalIsConflicted with InlineIntegral[B
214
215
object tests:
216
import InlineNumeric.*
217
- import InlineIntegral.{/ => quot, %}
+ import InlineIntegral.{/ => ¦, %}
218
import InlineFractional.{/}
219
220
// A generic inline operation that inlines/specializes primitive operations
221
inline def foo[T: InlineNumeric](inline a: T, inline b: T) =
222
a + b * b
223
224
inline def div[T: InlineIntegral](inline a: T, inline b: T) =
225
- a quot b % b
+ a ¦ b % b
226
227
inline def div[T: InlineFractional](inline a: T, inline b: T) =
228
a / b + a
0 commit comments