File tree 1 file changed +2
-3
lines changed
docs/docs/reference/metaprogramming
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,8 @@ introduce the following fundamental facilities:
10
10
a definition will be inlined at the point of use. The primary motivation
11
11
behind inline is to reduce the overhead behind function calls and access to
12
12
values. The expansion will be performed by the Scala compiler during the
13
- ` Typer ` compiler phase. Unlike Scala's existsing
14
- As opposed to inline in some other ecosystems,
15
- inlining is not merely a request to the compiler but for Scala it is a
13
+ ` Typer ` compiler phase. As opposed to inlining in some other ecosystems,
14
+ inlining in Scala is not merely a request to the compiler but is a
16
15
_ command_ . The reason is that inlining in Scala can drive other compile-time
17
16
operations, like inline pattern matching (enabling type-level
18
17
programming), macros (enabling compile-time, generative, metaprogramming) and
You can’t perform that action at this time.
0 commit comments