Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing ESPMode::ThreadSafe as Template Argument in Version 18.0.1 #558

Open
Liangjia0411 opened this issue Jun 14, 2024 · 0 comments
Open

Comments

@Liangjia0411
Copy link

I am encountering an issue while parsing code with ESPMode::ThreadSafe as a template argument using version 18.0.1. The problematic code snippet is as follows:

struct MONOSAMPLE_API FAuto_ExportProperty
{
    TSharedPtr<FKey, ESPMode::ThreadSafe> a;
};

In this code, ESPMode is an enumeration and ESPMode::ThreadSafe is used as a template argument for TSharedPtr. However, when I parse this code with version 18.0.1, ESPMode::ThreadSafe is incorrectly interpreted as a parameter pack, leading to subsequent parsing errors.

This issue does not occur when I parse the same code with version 16.0.0.

Could you please look into the differences between these two versions? I suspect this might be a bug in the new version.

This code is written based on the UE4.27 engine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant