You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _overviews/scala3-macros/tutorial/macros.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ On the other hand, a macro executes user-written code that generates the code th
72
72
Technically, compiling the inlined code `${ inspectCode('x) }` calls the method `inspectCode`_at compile time_ (through Java reflection), and the method `inspectCode` then executes as normal code.
73
73
74
74
To be able to execute `inspectCode`, we need to compile its source code first.
75
-
As a technicaly consequence, we cannot define and use a macro in the **same class/file**.
75
+
As a technical consequence, we cannot define and use a macro in the **same class/file**.
76
76
However, it is possible to have the macro definition and its call in the **same project** as long as the implementation of the macro can be compiled first.
0 commit comments