Weird Error?

I’ve been following this tutorial for customizing detail panels: A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
Everything works fine until this code:


.Font(IDetailLayoutBuilder::GetDetailFont())

This sparks an error during compile that says:

Can’t really understand what the logs are trying to tell me, nor can I find anything about the subject. Any help?

At Build.cs file
Add

PrivateDependencyModuleNames.AddRange(
    new string[]
    {
        ...
        "EditorStyle",
    }
);