Skip to content

Commit

Permalink
Update _overviews/scala3-macros/tutorial/inline.md
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrf authored Jun 9, 2022
1 parent 170877a commit 56d3742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _overviews/scala3-macros/tutorial/inline.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ val x = 2
val x2 = x * x
x2 * {
if (0 == 0) 1.0
else if (0 % 2 == 1) x * power(x2, 0 - 1) // dead branch
else if (0 % 2 == 1) x2 * power(x2, 0 - 1) // dead branch
else power(x2 * x2, 0 / 2) // dead branch
}
// partially evaluated to
Expand Down

0 comments on commit 56d3742

Please sign in to comment.