We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88bfa3d commit d8a9c99Copy full SHA for d8a9c99
TSPL.docc/ReferenceManual/Expressions.md
@@ -1548,11 +1548,11 @@ When you use a macro as a default value,
1548
it's type checked without expanding the macro,
1549
to check the following requirements:
1550
1551
+- The macro's access level
1552
+ is the same as or less restrictive than the function that uses it.
1553
- The macro either takes no arguments,
1554
or its arguments are literals without string interpolation.
1555
- The macro's return type matches the parameter's type.
-- The access level for the macro's return type
- is the same as or less restrictive than the function that uses it.
1556
1557
You use macro expressions to call freestanding macros.
1558
To call an attached macro,
0 commit comments