From 5a39c1353eb347b79a906bdd54d135dfa5d467e4 Mon Sep 17 00:00:00 2001 From: Robert Stoll Date: Sun, 9 Feb 2020 21:59:06 +0100 Subject: [PATCH] doc(compiletime.ops): fix package --- docs/docs/reference/metaprogramming/inline.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/reference/metaprogramming/inline.md b/docs/docs/reference/metaprogramming/inline.md index bc4b3d08910a..25462099ae83 100644 --- a/docs/docs/reference/metaprogramming/inline.md +++ b/docs/docs/reference/metaprogramming/inline.md @@ -456,8 +456,8 @@ val x: 1 + 2 * 3 = 7 ``` The operation types are located in packages named after the type of the -left-hand side parameter: for instance, `scala.compiletime.int.+` represents -addition of two numbers, while `scala.compiletime.string.+` represents string +left-hand side parameter: for instance, `scala.compiletime.ops.int.+` represents +addition of two numbers, while `scala.compiletime.ops.string.+` represents string concatenation. To use both and distinguish the two types from each other, a match type can dispatch to the correct implementation: