File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ Note that the arguments corresponding to the parameters `msg` and `op`
5959of the inline method ` log ` are defined before the inlined body (which
6060is in this case simply ` op ` ). By-name parameters of the inlined method
6161correspond to ` def ` bindings whereas by-value parameters correspond to
62- ` val ` bindings. Do if ` log ` was defined like this:
62+ ` val ` bindings. So if ` log ` was defined like this:
6363
6464 inline def log[T](msg: String)(op: => T): T = ...
6565
@@ -119,7 +119,7 @@ it happens in the fronend instead of in the backend, and it also applies
119119to method arguments and recursive methods.
120120
121121Since ` inline ` is now a keyword, it would be a syntax error to write
122- ` @inline ` . Hwoever , one can still refer to the annotation by putting
122+ ` @inline ` . However , one can still refer to the annotation by putting
123123it in backticks, i.e.
124124
125125 @`inline` def ...
You can’t perform that action at this time.
0 commit comments