Skip to content

Commit b79af08

Browse files
committed
The type FourCC is incorrectly used in the test code of Macros.
In the Macros section, fixed a test code referencing a non-existent type FourCC. Changed it to FourCharacterCode.
1 parent f4ed12b commit b79af08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TSPL.docc/LanguageGuide/Macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ let file = BasicMacroExpansionContext.KnownSourceFile(
704704
let context = BasicMacroExpansionContext(sourceFiles: [source: file])
705705

706706
let transformedSF = source.expand(
707-
macros:["fourCharacterCode": FourCC.self],
707+
macros:["fourCharacterCode": FourCharacterCode.self],
708708
in: context
709709
)
710710

0 commit comments

Comments
 (0)